diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 8a62a51e6f75f..6fb4aa48ecdef 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -141,7 +141,7 @@ const jsxOptionMap = new Map(Object.entries({ export const inverseJsxOptionMap: Map = new Map(mapIterator(jsxOptionMap.entries(), ([key, value]: [string, JsxEmit]) => ["" + value, key] as const)); // NOTE: The order here is important to default lib ordering as entries will have the same -// order in the generated program (see `getDefaultLibPriority` in program.ts). This +// order in the generated program (see `getDefaultLibFilePriority` in program.ts). This // order also affects overload resolution when a type declared in one lib is // augmented in another lib. // NOTE: We must reevaluate the target for upcoming features when each successive TC39 edition is ratified in @@ -163,6 +163,7 @@ const libEntries: [string, string][] = [ ["es2022", "lib.es2022.d.ts"], ["es2023", "lib.es2023.d.ts"], ["es2024", "lib.es2024.d.ts"], + ["es2025", "lib.es2025.d.ts"], ["esnext", "lib.esnext.d.ts"], // Host only ["dom", "lib.dom.d.ts"], @@ -173,7 +174,7 @@ const libEntries: [string, string][] = [ ["webworker.iterable", "lib.webworker.iterable.d.ts"], ["webworker.asynciterable", "lib.webworker.asynciterable.d.ts"], ["scripthost", "lib.scripthost.d.ts"], - // ES2015 Or ESNext By-feature options + // ES2015 and later By-feature options ["es2015.core", "lib.es2015.core.d.ts"], ["es2015.collection", "lib.es2015.collection.d.ts"], ["es2015.generator", "lib.es2015.generator.d.ts"], @@ -230,27 +231,33 @@ const libEntries: [string, string][] = [ ["es2024.regexp", "lib.es2024.regexp.d.ts"], ["es2024.sharedmemory", "lib.es2024.sharedmemory.d.ts"], ["es2024.string", "lib.es2024.string.d.ts"], - ["esnext.array", "lib.es2023.array.d.ts"], - ["esnext.collection", "lib.esnext.collection.d.ts"], - ["esnext.symbol", "lib.es2019.symbol.d.ts"], + ["es2025.collection", "lib.es2025.collection.d.ts"], + ["es2025.float16", "lib.es2025.float16.d.ts"], + ["es2025.intl", "lib.es2025.intl.d.ts"], + ["es2025.iterator", "lib.es2025.iterator.d.ts"], + ["es2025.promise", "lib.es2025.promise.d.ts"], + ["es2025.regexp", "lib.es2025.regexp.d.ts"], + // Fallback for backward compatibility ["esnext.asynciterable", "lib.es2018.asynciterable.d.ts"], - ["esnext.intl", "lib.esnext.intl.d.ts"], - ["esnext.disposable", "lib.esnext.disposable.d.ts"], + ["esnext.symbol", "lib.es2019.symbol.d.ts"], ["esnext.bigint", "lib.es2020.bigint.d.ts"], - ["esnext.string", "lib.es2022.string.d.ts"], - ["esnext.promise", "lib.es2024.promise.d.ts"], ["esnext.weakref", "lib.es2021.weakref.d.ts"], - ["esnext.decorators", "lib.esnext.decorators.d.ts"], ["esnext.object", "lib.es2024.object.d.ts"], - ["esnext.array", "lib.esnext.array.d.ts"], ["esnext.regexp", "lib.es2024.regexp.d.ts"], ["esnext.string", "lib.es2024.string.d.ts"], - ["esnext.iterator", "lib.esnext.iterator.d.ts"], - ["esnext.promise", "lib.esnext.promise.d.ts"], - ["esnext.float16", "lib.esnext.float16.d.ts"], - ["esnext.typedarrays", "lib.esnext.typedarrays.d.ts"], + ["esnext.collection", "lib.es2025.collection.d.ts"], + ["esnext.float16", "lib.es2025.float16.d.ts"], + ["esnext.iterator", "lib.es2025.iterator.d.ts"], + ["esnext.promise", "lib.es2025.promise.d.ts"], + // ESNext By-feature options + ["esnext.array", "lib.esnext.array.d.ts"], + ["esnext.decorators", "lib.esnext.decorators.d.ts"], + ["esnext.disposable", "lib.esnext.disposable.d.ts"], ["esnext.error", "lib.esnext.error.d.ts"], + ["esnext.intl", "lib.esnext.intl.d.ts"], ["esnext.sharedmemory", "lib.esnext.sharedmemory.d.ts"], + ["esnext.typedarrays", "lib.esnext.typedarrays.d.ts"], + // Decorators ["decorators", "lib.decorators.d.ts"], ["decorators.legacy", "lib.decorators.legacy.d.ts"], ]; diff --git a/src/compiler/types.ts b/src/compiler/types.ts index df5d03e7ef964..ff07e68714bf8 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -7671,10 +7671,11 @@ export const enum ScriptTarget { ES2022 = 9, ES2023 = 10, ES2024 = 11, + ES2025 = 12, ESNext = 99, JSON = 100, Latest = ESNext, - LatestStandard = ES2024, + LatestStandard = ES2025, } export const enum LanguageVariant { diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 949c3dc01f83c..04e40d105611f 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -1486,6 +1486,11 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ "unicodeSets", ], })), + RegExpConstructor: new Map(Object.entries({ + es2025: [ + "escape", + ], + })), Reflect: new Map(Object.entries({ es2015: [ "apply", @@ -1565,7 +1570,7 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ "fround", "cbrt", ], - esnext: [ + es2025: [ "f16round", ], })), @@ -1587,7 +1592,7 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ "keys", "values", ], - esnext: [ + es2025: [ "union", "intersection", "difference", @@ -1613,6 +1618,9 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ es2024: [ "withResolvers", ], + es2025: [ + "try", + ], })), Symbol: new Map(Object.entries({ es2015: [ @@ -1714,6 +1722,21 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ es2018: [ "PluralRules", ], + es2020: [ + "RelativeTimeFormat", + "Locale", + "DisplayNames", + ], + es2021: [ + "ListFormat", + "DateTimeFormat", + ], + es2022: [ + "Segmenter", + ], + es2025: [ + "DurationFormat", + ], })), NumberFormat: new Map(Object.entries({ es2018: [ @@ -1737,7 +1760,7 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ "getBigInt64", "getBigUint64", ], - esnext: [ + es2025: [ "setFloat16", "getFloat16", ], @@ -1850,7 +1873,7 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ ], })), Float16Array: new Map(Object.entries({ - esnext: emptyArray, + es2025: emptyArray, })), Float32Array: new Map(Object.entries({ es2022: [ @@ -1911,12 +1934,23 @@ export const getScriptTargetFeatures: () => ScriptTargetFeatures = /* @__PURE__ "cause", ], })), + ErrorConstructor: new Map(Object.entries({ + esnext: [ + "isError", + ], + })), Uint8ArrayConstructor: new Map(Object.entries({ esnext: [ "fromBase64", "fromHex", ], })), + DisposableStack: new Map(Object.entries({ + esnext: emptyArray, + })), + AsyncDisposableStack: new Map(Object.entries({ + esnext: emptyArray, + })), })) ); diff --git a/src/compiler/utilitiesPublic.ts b/src/compiler/utilitiesPublic.ts index 36eba18db07ba..bc38bd11a5f05 100644 --- a/src/compiler/utilitiesPublic.ts +++ b/src/compiler/utilitiesPublic.ts @@ -311,6 +311,7 @@ export function sortAndDeduplicateDiagnostics(diagnostics: // compiler/utilitiesPublic.ts, and the contents of each lib/esnext.*.d.ts file. export const targetToLibMap: Map = new Map([ [ScriptTarget.ESNext, "lib.esnext.full.d.ts"], + [ScriptTarget.ES2025, "lib.es2025.full.d.ts"], [ScriptTarget.ES2024, "lib.es2024.full.d.ts"], [ScriptTarget.ES2023, "lib.es2023.full.d.ts"], [ScriptTarget.ES2022, "lib.es2022.full.d.ts"], diff --git a/src/lib/esnext.collection.d.ts b/src/lib/es2025.collection.d.ts similarity index 100% rename from src/lib/esnext.collection.d.ts rename to src/lib/es2025.collection.d.ts diff --git a/src/lib/es2025.d.ts b/src/lib/es2025.d.ts new file mode 100644 index 0000000000000..5a85bfba65b01 --- /dev/null +++ b/src/lib/es2025.d.ts @@ -0,0 +1,7 @@ +/// +/// +/// +/// +/// +/// +/// diff --git a/src/lib/esnext.float16.d.ts b/src/lib/es2025.float16.d.ts similarity index 100% rename from src/lib/esnext.float16.d.ts rename to src/lib/es2025.float16.d.ts diff --git a/src/lib/es2025.full.d.ts b/src/lib/es2025.full.d.ts new file mode 100644 index 0000000000000..9499021cf6a7e --- /dev/null +++ b/src/lib/es2025.full.d.ts @@ -0,0 +1,6 @@ +/// +/// +/// +/// +/// +/// diff --git a/src/lib/es2025.intl.d.ts b/src/lib/es2025.intl.d.ts new file mode 100644 index 0000000000000..458370032bb48 --- /dev/null +++ b/src/lib/es2025.intl.d.ts @@ -0,0 +1,185 @@ +declare namespace Intl { + type DurationTimeFormatLocaleMatcher = "lookup" | "best fit"; + /** + * Value of the `unit` property in duration objects + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration). + */ + type DurationTimeFormatUnit = + | "years" + | "months" + | "weeks" + | "days" + | "hours" + | "minutes" + | "seconds" + | "milliseconds" + | "microseconds" + | "nanoseconds"; + + /** + * The style of the formatted duration. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#style). + */ + type DurationFormatStyle = "long" | "short" | "narrow" | "digital"; + + type DurationFormatUnitSingular = + | "year" + | "quarter" + | "month" + | "week" + | "day" + | "hour" + | "minute" + | "second"; + + /** + * An object representing the relative time format in parts + * that can be used for custom locale-aware formatting. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts#examples). + */ + type DurationFormatPart = + | { + type: "literal"; + value: string; + } + | { + type: Exclude; + value: string; + unit: DurationFormatUnitSingular; + }; + + type DurationFormatOption = + | "long" + | "short" + | "narrow" + | "numeric" + | "2-digit"; + + type DurationFormatDisplayOption = "always" | "auto"; + + /** + * Number of how many fractional second digits to display in the output. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#fractionaldigits). + */ + type fractionalDigitsOption = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; + + interface ResolvedDurationFormatOptions { + locale?: UnicodeBCP47LocaleIdentifier; + numberingSystem?: DateTimeFormatOptions["numberingSystem"]; + style?: DurationFormatStyle; + years?: Exclude; + yearsDisplay?: DurationFormatDisplayOption; + months?: Exclude; + monthsDisplay?: DurationFormatDisplayOption; + weeks?: Exclude; + weeksDisplay?: DurationFormatDisplayOption; + days?: Exclude; + daysDisplay?: DurationFormatDisplayOption; + hours?: DurationFormatOptions; + hoursDisplay?: DurationFormatDisplayOption; + minutes?: DurationFormatOptions; + minutesDisplay?: DurationFormatDisplayOption; + seconds?: DurationFormatOptions; + secondsDisplay?: DurationFormatDisplayOption; + milliseconds?: DurationFormatOptions; + millisecondsDisplay?: DurationFormatDisplayOption; + microseconds?: DurationFormatOptions; + microsecondsDisplay?: DurationFormatDisplayOption; + nanoseconds?: DurationFormatOptions; + nanosecondsDisplay?: DurationFormatDisplayOption; + fractionalDigits?: fractionalDigitsOption; + } + + interface DurationFormatOptions { + localeMatcher?: DurationTimeFormatLocaleMatcher; + numberingSystem?: DateTimeFormatOptions["numberingSystem"]; + style?: DurationFormatStyle; + years?: Exclude; + yearsDisplay?: DurationFormatDisplayOption; + months?: Exclude; + monthsDisplay?: DurationFormatDisplayOption; + weeks?: Exclude; + weeksDisplay?: DurationFormatDisplayOption; + days?: Exclude; + daysDisplay?: DurationFormatDisplayOption; + hours?: DurationFormatOption; + hoursDisplay?: DurationFormatDisplayOption; + minutes?: DurationFormatOption; + minutesDisplay?: DurationFormatDisplayOption; + seconds?: DurationFormatOption; + secondsDisplay?: DurationFormatDisplayOption; + milliseconds?: DurationFormatOption; + millisecondsDisplay?: DurationFormatDisplayOption; + microseconds?: DurationFormatOption; + microsecondsDisplay?: DurationFormatDisplayOption; + nanoseconds?: DurationFormatOption; + nanosecondsDisplay?: DurationFormatDisplayOption; + fractionalDigits?: fractionalDigitsOption; + } + + /** + * The duration object to be formatted + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration). + */ + type DurationType = Partial>; + + interface DurationFormat { + /** + * @param duration The duration object to be formatted. It should include some or all of the following properties: months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format). + */ + format(duration: DurationType): string; + /** + * @param duration The duration object to be formatted. It should include some or all of the following properties: months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts). + */ + formatToParts(duration: DurationType): DurationFormatPart[]; + /** + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/resolvedOptions). + */ + resolvedOptions(): ResolvedDurationFormatOptions; + } + + const DurationFormat: { + prototype: DurationFormat; + + /** + * @param locales A string with a BCP 47 language tag, or an array of such strings. + * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * page. + * + * @param options An object for setting up a duration format. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat). + */ + new ( + locales?: LocalesArgument, + options?: DurationFormatOptions, + ): DurationFormat; + + /** + * Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale. + * + * @param locales A string with a BCP 47 language tag, or an array of such strings. + * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * page. + * + * @param options An object with a locale matcher. + * + * @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale. + * + * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/supportedLocalesOf). + */ + supportedLocalesOf( + locales?: LocalesArgument, + options?: { localeMatcher?: DurationTimeFormatLocaleMatcher; }, + ): UnicodeBCP47LocaleIdentifier[]; + }; +} diff --git a/src/lib/esnext.iterator.d.ts b/src/lib/es2025.iterator.d.ts similarity index 100% rename from src/lib/esnext.iterator.d.ts rename to src/lib/es2025.iterator.d.ts diff --git a/src/lib/esnext.promise.d.ts b/src/lib/es2025.promise.d.ts similarity index 100% rename from src/lib/esnext.promise.d.ts rename to src/lib/es2025.promise.d.ts diff --git a/src/lib/es2025.regexp.d.ts b/src/lib/es2025.regexp.d.ts new file mode 100644 index 0000000000000..b4c10e8bc4965 --- /dev/null +++ b/src/lib/es2025.regexp.d.ts @@ -0,0 +1,14 @@ +interface RegExpConstructor { + /** + * Escapes any RegExp syntax characters in the input string, returning a + * new string that can be safely interpolated into a RegExp as a literal + * string to match. + * @example + * ```ts + * const regExp = new RegExp(RegExp.escape("foo.bar")); + * regExp.test("foo.bar"); // true + * regExp.test("foo!bar"); // false + * ``` + */ + escape(string: string): string; +} diff --git a/src/lib/esnext.d.ts b/src/lib/esnext.d.ts index c32661b0be9f2..fd06d87859994 100644 --- a/src/lib/esnext.d.ts +++ b/src/lib/esnext.d.ts @@ -1,12 +1,8 @@ -/// +/// /// /// /// -/// /// -/// -/// -/// /// /// /// diff --git a/src/lib/libs.json b/src/lib/libs.json index c3cefc3426c42..830ef75de4318 100644 --- a/src/lib/libs.json +++ b/src/lib/libs.json @@ -12,6 +12,7 @@ "es2022", "es2023", "es2024", + "es2025", "esnext", // Host only "dom.generated", @@ -79,17 +80,19 @@ "es2024.regexp", "es2024.sharedmemory", "es2024.string", + "es2025.collection", + "es2025.float16", + "es2025.intl", + "es2025.iterator", + "es2025.promise", + "es2025.regexp", + "esnext.array", "esnext.decorators", - "esnext.intl", "esnext.disposable", - "esnext.collection", - "esnext.array", - "esnext.iterator", - "esnext.promise", - "esnext.float16", - "esnext.typedarrays", "esnext.error", + "esnext.intl", "esnext.sharedmemory", + "esnext.typedarrays", "decorators", "decorators.legacy", // Default libraries @@ -104,6 +107,7 @@ "es2022.full", "es2023.full", "es2024.full", + "es2025.full", "esnext.full" ], "paths": { diff --git a/src/server/protocol.ts b/src/server/protocol.ts index 7a9c40f0bda48..fd445696d46a6 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -3281,6 +3281,10 @@ export const enum NewLineKind { Lf = "Lf", } +// NOTE: We must reevaluate the target for upcoming features when each successive TC39 edition is ratified in +// June of each year. This includes changes to `LanguageFeatureMinimumTarget`, `ScriptTarget`, +// `ScriptTargetFeatures` transformers/esnext.ts, compiler/commandLineParser.ts, +// compiler/utilitiesPublic.ts, and the contents of each lib/esnext.*.d.ts file. export const enum ScriptTarget { /** @deprecated */ ES3 = "es3", @@ -3297,10 +3301,11 @@ export const enum ScriptTarget { ES2022 = "es2022", ES2023 = "es2023", ES2024 = "es2024", + ES2025 = "es2025", ESNext = "esnext", JSON = "json", Latest = ESNext, - LatestStandard = ES2024, + LatestStandard = ES2025, } { diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 96243aa142da3..27402f2c9eae1 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2556,10 +2556,11 @@ declare namespace ts { ES2022 = "es2022", ES2023 = "es2023", ES2024 = "es2024", + ES2025 = "es2025", ESNext = "esnext", JSON = "json", Latest = "esnext", - LatestStandard = "es2024", + LatestStandard = "es2025", } } namespace typingsInstaller { @@ -7221,10 +7222,11 @@ declare namespace ts { ES2022 = 9, ES2023 = 10, ES2024 = 11, + ES2025 = 12, ESNext = 99, JSON = 100, Latest = 99, - LatestStandard = 11, + LatestStandard = 12, } enum LanguageVariant { Standard = 0, diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols index 11f28871b6eab..9bbe5e33cd6a8 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols +++ b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols @@ -3,11 +3,11 @@ === awaitUsingDeclarationsWithIteratorObject.ts === declare const i: Iterator; >i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) declare const io: IteratorObject; >io : Symbol(io, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 1, 13)) ->IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) declare const g: Generator; >g : Symbol(g, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 13)) @@ -15,7 +15,7 @@ declare const g: Generator; class MyIterator extends Iterator { >MyIterator : Symbol(MyIterator, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 41)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) next() { return { done: true, value: undefined }; } >next : Symbol(MyIterator.next, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 4, 43)) @@ -38,9 +38,9 @@ async function f() { await using it2 = Iterator.from(i) >it2 : Symbol(it2, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 12, 15)) ->Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) >i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13)) await using it3 = new MyIterator(); @@ -61,7 +61,7 @@ async function f() { await using it6 = new Set().keys(); >it6 : Symbol(it6, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 16, 15)) >new Set().keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) // should fail diff --git a/tests/baselines/reference/builtinIterator.errors.txt b/tests/baselines/reference/builtinIterator.errors.txt index c4fc043ee366e..5894a223dad51 100644 --- a/tests/baselines/reference/builtinIterator.errors.txt +++ b/tests/baselines/reference/builtinIterator.errors.txt @@ -161,4 +161,4 @@ builtinIterator.ts(73,35): error TS2322: Type 'Generatoriterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) const mapped = iterator.map(String); >mapped : Symbol(mapped, Decl(builtinIterator.ts, 2, 5)) ->iterator.map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>iterator.map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) >iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) >String : Symbol(String, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --) ... and 7 more) const filtered = iterator.filter(x => x > 0); >filtered : Symbol(filtered, Decl(builtinIterator.ts, 4, 5)) ->iterator.filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >x : Symbol(x, Decl(builtinIterator.ts, 4, 33)) >x : Symbol(x, Decl(builtinIterator.ts, 4, 33)) @@ -32,16 +32,16 @@ function isZero(x: number): x is 0 { } const zero = iterator.filter(isZero); >zero : Symbol(zero, Decl(builtinIterator.ts, 9, 5)) ->iterator.filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >isZero : Symbol(isZero, Decl(builtinIterator.ts, 4, 45)) const iteratorFromBare = Iterator.from({ >iteratorFromBare : Symbol(iteratorFromBare, Decl(builtinIterator.ts, 11, 5)) ->Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) next() { >next : Symbol(next, Decl(builtinIterator.ts, 11, 40)) @@ -50,7 +50,7 @@ const iteratorFromBare = Iterator.from({ done: Math.random() < .5, >done : Symbol(done, Decl(builtinIterator.ts, 13, 12)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) value: "a string", @@ -69,25 +69,25 @@ function* gen() { const mappedGen = gen().map(x => x === 0 ? "zero" : "other"); >mappedGen : Symbol(mappedGen, Decl(builtinIterator.ts, 25, 5)) ->gen().map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>gen().map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) >gen : Symbol(gen, Decl(builtinIterator.ts, 18, 3)) ->map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) >x : Symbol(x, Decl(builtinIterator.ts, 25, 28)) >x : Symbol(x, Decl(builtinIterator.ts, 25, 28)) const mappedValues = [0, 1, 2].values().map(x => x === 0 ? "zero" : "other"); >mappedValues : Symbol(mappedValues, Decl(builtinIterator.ts, 27, 5)) ->[0, 1, 2].values().map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>[0, 1, 2].values().map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) >[0, 1, 2].values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) >values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) ->map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) >x : Symbol(x, Decl(builtinIterator.ts, 27, 44)) >x : Symbol(x, Decl(builtinIterator.ts, 27, 44)) class GoodIterator extends Iterator { >GoodIterator : Symbol(GoodIterator, Decl(builtinIterator.ts, 27, 77)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) next() { >next : Symbol(GoodIterator.next, Decl(builtinIterator.ts, 30, 45)) @@ -101,23 +101,23 @@ class GoodIterator extends Iterator { // error cases new Iterator(); ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) class C extends Iterator {} >C : Symbol(C, Decl(builtinIterator.ts, 37, 23)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) // it's unfortunate that these are an error class BadIterator1 extends Iterator { >BadIterator1 : Symbol(BadIterator1, Decl(builtinIterator.ts, 39, 35)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) next() { >next : Symbol(BadIterator1.next, Decl(builtinIterator.ts, 42, 45)) if (Math.random() < .5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return { done: false, value: 0 } as const; @@ -136,7 +136,7 @@ class BadIterator1 extends Iterator { class BadIterator2 extends Iterator { >BadIterator2 : Symbol(BadIterator2, Decl(builtinIterator.ts, 50, 1)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) next() { >next : Symbol(BadIterator2.next, Decl(builtinIterator.ts, 52, 45)) @@ -149,14 +149,14 @@ class BadIterator2 extends Iterator { class BadIterator3 extends Iterator { >BadIterator3 : Symbol(BadIterator3, Decl(builtinIterator.ts, 56, 1)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) next() { >next : Symbol(BadIterator3.next, Decl(builtinIterator.ts, 58, 45)) if (Math.random() < .5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return { done: false, value: 0 }; @@ -177,19 +177,19 @@ declare const g1: Generator; const iter1 = Iterator.from(g1); >iter1 : Symbol(iter1, Decl(builtinIterator.ts, 69, 5)) ->Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) >g1 : Symbol(g1, Decl(builtinIterator.ts, 68, 13)) declare const iter2: IteratorObject; >iter2 : Symbol(iter2, Decl(builtinIterator.ts, 71, 13)) ->IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) const iter3 = iter2.flatMap(() => g1); >iter3 : Symbol(iter3, Decl(builtinIterator.ts, 72, 5)) ->iter2.flatMap : Symbol(IteratorObject.flatMap, Decl(lib.esnext.iterator.d.ts, --, --)) +>iter2.flatMap : Symbol(IteratorObject.flatMap, Decl(lib.es2025.iterator.d.ts, --, --)) >iter2 : Symbol(iter2, Decl(builtinIterator.ts, 71, 13)) ->flatMap : Symbol(IteratorObject.flatMap, Decl(lib.esnext.iterator.d.ts, --, --)) +>flatMap : Symbol(IteratorObject.flatMap, Decl(lib.es2025.iterator.d.ts, --, --)) >g1 : Symbol(g1, Decl(builtinIterator.ts, 68, 13)) diff --git a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).symbols b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).symbols index 121fa7517084d..0e3676a4818f2 100644 --- a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).symbols +++ b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).symbols @@ -10,7 +10,7 @@ declare const map: Map; declare const set: Set; >set : Symbol(set, Decl(builtinIteratorReturn.ts, 2, 13)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) const i0 = array[Symbol.iterator](); >i0 : Symbol(i0, Decl(builtinIteratorReturn.ts, 4, 5)) diff --git a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).symbols b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).symbols index 121fa7517084d..0e3676a4818f2 100644 --- a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).symbols +++ b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).symbols @@ -10,7 +10,7 @@ declare const map: Map; declare const set: Set; >set : Symbol(set, Decl(builtinIteratorReturn.ts, 2, 13)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) const i0 = array[Symbol.iterator](); >i0 : Symbol(i0, Decl(builtinIteratorReturn.ts, 4, 5)) diff --git a/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.symbols b/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.symbols index 6fa8dff64ed86..c3232bc786770 100644 --- a/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.symbols +++ b/tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.symbols @@ -69,7 +69,7 @@ export abstract class BaseObservable extends ConvenientObserv protected readonly observers = new Set(); >observers : Symbol(BaseObservable.observers, Decl(classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.ts, 18, 98)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >IObserver : Symbol(IObserver, Decl(classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.ts, 0, 0)) } diff --git a/tests/baselines/reference/computedPropertiesWithSetterAssignment.symbols b/tests/baselines/reference/computedPropertiesWithSetterAssignment.symbols index cc82a9dc99a58..9e1b4761481e4 100644 --- a/tests/baselines/reference/computedPropertiesWithSetterAssignment.symbols +++ b/tests/baselines/reference/computedPropertiesWithSetterAssignment.symbols @@ -17,7 +17,7 @@ interface Foo { get k(): Set; >k : Symbol(Foo.k, Decl(a.ts, 6, 15), Decl(a.ts, 7, 25)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) set k(v: Iterable); >k : Symbol(Foo.k, Decl(a.ts, 6, 15), Decl(a.ts, 7, 25)) @@ -27,7 +27,7 @@ interface Foo { get [k](): Set; >[k] : Symbol(Foo[k], Decl(a.ts, 8, 31), Decl(a.ts, 10, 27)) >k : Symbol(k, Decl(a.ts, 0, 5)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) set [k](v: Iterable); >[k] : Symbol(Foo[k], Decl(a.ts, 8, 31), Decl(a.ts, 10, 27)) diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js index 9af82569714d4..85c754ea2757f 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js @@ -10,4 +10,4 @@ WatchOptions:: FileNames:: es7,0.ts Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js index 88baea60556c0..b8160b99313a9 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js @@ -10,4 +10,4 @@ WatchOptions:: FileNames:: es7,0.ts Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js index 7f4be7fd1d8a2..d2e41d60bb60c 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js @@ -10,4 +10,4 @@ WatchOptions:: FileNames:: 0.ts Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js index 0ed359422d88d..ca33b3d6079ca 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js @@ -30,5 +30,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js index eefaad0104fd0..08633cd63e9d2 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js @@ -30,7 +30,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. 8 ""    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js index f2c97f4662bc6..76991f37a6281 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js @@ -33,5 +33,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js index 28c1aadf33c64..c1b6b31ff3e75 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js @@ -33,7 +33,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:9:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +tsconfig.json:9:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. 9 ""    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js index dcaa13a3cfaf9..a468aaed5d9e3 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js @@ -35,5 +35,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js index daa2dc0be2527..bf10ebf0836f9 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js @@ -35,7 +35,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:10:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +tsconfig.json:10:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. 10 "incorrectLib"    ~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js index b925c34b7d945..be0d43e7d1b0d 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js @@ -30,5 +30,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js index b6711b0ac7d6b..07fa0d3b28024 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js @@ -30,7 +30,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'. +tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'. 8 " "    ~~~~~ diff --git a/tests/baselines/reference/dependentDestructuredVariables.symbols b/tests/baselines/reference/dependentDestructuredVariables.symbols index 7fee933a60fa2..71d20dfcca4d7 100644 --- a/tests/baselines/reference/dependentDestructuredVariables.symbols +++ b/tests/baselines/reference/dependentDestructuredVariables.symbols @@ -477,7 +477,7 @@ const reducerBroken = (state: number, { type, payload }: Action3) => { declare var it: Iterator; >it : Symbol(it, Decl(dependentDestructuredVariables.ts, 183, 11)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) const { value, done } = it.next(); >value : Symbol(value, Decl(dependentDestructuredVariables.ts, 184, 7)) @@ -1109,7 +1109,7 @@ function parameterReassigned1([x, y]: [1, 2] | [3, 4]) { if (Math.random()) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) x = 1; @@ -1130,7 +1130,7 @@ function parameterReassigned2([x, y]: [1, 2] | [3, 4]) { if (Math.random()) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) y = 2; @@ -1154,7 +1154,7 @@ const parameterReassignedContextualRest1: (...args: [1, 2] | [3, 4]) => void = ( if (Math.random()) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) y = 2; diff --git a/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.symbols b/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.symbols index 231ec9008a911..53fa5a9669383 100644 --- a/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.symbols +++ b/tests/baselines/reference/dependentDestructuredVariablesFromNestedPatterns.symbols @@ -119,7 +119,7 @@ function test4([[p1, p1Error]]: [[undefined, Error] | [number, undefined]]) { if (Math.random()) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) p1 = undefined; diff --git a/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.symbols b/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.symbols index 22f9533da2564..18c0d0ff4697d 100644 --- a/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.symbols +++ b/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.symbols @@ -13,7 +13,7 @@ const IterableWeakMap_cleanup = ({ ref, set }: { readonly set: Set>; >set : Symbol(set, Decl(esNextWeakRefs_IterableWeakMap.ts, 2, 34)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >WeakRef : Symbol(WeakRef, Decl(lib.es2021.weakref.d.ts, --, --), Decl(lib.es2021.weakref.d.ts, --, --)) }) => { @@ -52,7 +52,7 @@ export class IterableWeakMap implements WeakMap { #refSet = new Set>(); >#refSet : Symbol(IterableWeakMap.#refSet, Decl(esNextWeakRefs_IterableWeakMap.ts, 12, 72)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >WeakRef : Symbol(WeakRef, Decl(lib.es2021.weakref.d.ts, --, --), Decl(lib.es2021.weakref.d.ts, --, --)) >K : Symbol(K, Decl(esNextWeakRefs_IterableWeakMap.ts, 9, 29)) diff --git a/tests/baselines/reference/extendsTag1.symbols b/tests/baselines/reference/extendsTag1.symbols index f83b253d0e459..a489a79991a7e 100644 --- a/tests/baselines/reference/extendsTag1.symbols +++ b/tests/baselines/reference/extendsTag1.symbols @@ -7,5 +7,5 @@ */ class My extends Set {} >My : Symbol(My, Decl(bug25101.js, 0, 0)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) diff --git a/tests/baselines/reference/float16Array.symbols b/tests/baselines/reference/float16Array.symbols new file mode 100644 index 0000000000000..fab5d2b2a198c --- /dev/null +++ b/tests/baselines/reference/float16Array.symbols @@ -0,0 +1,7 @@ +//// [tests/cases/conformance/es2025/float16Array.ts] //// + +=== float16Array.ts === +const float16 = new Float16Array(4); +>float16 : Symbol(float16, Decl(float16Array.ts, 0, 5)) +>Float16Array : Symbol(Float16Array, Decl(lib.es2025.float16.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) + diff --git a/tests/baselines/reference/float16Array.types b/tests/baselines/reference/float16Array.types new file mode 100644 index 0000000000000..a942b2ee34a85 --- /dev/null +++ b/tests/baselines/reference/float16Array.types @@ -0,0 +1,13 @@ +//// [tests/cases/conformance/es2025/float16Array.ts] //// + +=== float16Array.ts === +const float16 = new Float16Array(4); +>float16 : Float16Array +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Float16Array(4) : Float16Array +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>Float16Array : Float16ArrayConstructor +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>4 : 4 +> : ^ + diff --git a/tests/baselines/reference/formatToPartsFractionalSecond.symbols b/tests/baselines/reference/formatToPartsFractionalSecond.symbols index 8f11bdbf67856..d3b69b2692cf9 100644 --- a/tests/baselines/reference/formatToPartsFractionalSecond.symbols +++ b/tests/baselines/reference/formatToPartsFractionalSecond.symbols @@ -5,7 +5,7 @@ new Intl.DateTimeFormat().formatToParts().find((val) => val.type === 'fractional >new Intl.DateTimeFormat().formatToParts().find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) >new Intl.DateTimeFormat().formatToParts : Symbol(Intl.DateTimeFormat.formatToParts, Decl(lib.es2017.intl.d.ts, --, --)) >Intl.DateTimeFormat : Symbol(Intl.DateTimeFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2017.intl.d.ts, --, --), Decl(lib.es2021.intl.d.ts, --, --)) ->Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --), Decl(lib.es2016.intl.d.ts, --, --), Decl(lib.es2017.intl.d.ts, --, --), Decl(lib.es2018.intl.d.ts, --, --), Decl(lib.es2019.intl.d.ts, --, --) ... and 6 more) +>Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --), Decl(lib.es2016.intl.d.ts, --, --), Decl(lib.es2017.intl.d.ts, --, --), Decl(lib.es2018.intl.d.ts, --, --), Decl(lib.es2019.intl.d.ts, --, --) ... and 7 more) >DateTimeFormat : Symbol(Intl.DateTimeFormat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2017.intl.d.ts, --, --), Decl(lib.es2021.intl.d.ts, --, --)) >formatToParts : Symbol(Intl.DateTimeFormat.formatToParts, Decl(lib.es2017.intl.d.ts, --, --)) >find : Symbol(Array.find, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --)) diff --git a/tests/baselines/reference/generatorNoImplicitReturns.symbols b/tests/baselines/reference/generatorNoImplicitReturns.symbols index fe12f7491a48d..0b06504c22737 100644 --- a/tests/baselines/reference/generatorNoImplicitReturns.symbols +++ b/tests/baselines/reference/generatorNoImplicitReturns.symbols @@ -7,7 +7,7 @@ function* testGenerator () { if (Math.random() > 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return; diff --git a/tests/baselines/reference/generatorReturnContextualType.symbols b/tests/baselines/reference/generatorReturnContextualType.symbols index ebaa5c3f235ef..1e1ff2e777420 100644 --- a/tests/baselines/reference/generatorReturnContextualType.symbols +++ b/tests/baselines/reference/generatorReturnContextualType.symbols @@ -14,7 +14,7 @@ function* f1(): Generator { function* g1(): Iterator { >g1 : Symbol(g1, Decl(generatorReturnContextualType.ts, 4, 1)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >x : Symbol(x, Decl(generatorReturnContextualType.ts, 6, 31)) return { x: 'x' }; diff --git a/tests/baselines/reference/generatorReturnExpressionIsChecked.symbols b/tests/baselines/reference/generatorReturnExpressionIsChecked.symbols index 976b4c3114ded..669cfca73b11a 100644 --- a/tests/baselines/reference/generatorReturnExpressionIsChecked.symbols +++ b/tests/baselines/reference/generatorReturnExpressionIsChecked.symbols @@ -3,7 +3,7 @@ === generatorReturnExpressionIsChecked.ts === function* f(): Iterator { >f : Symbol(f, Decl(generatorReturnExpressionIsChecked.ts, 0, 0)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) return invalid; } diff --git a/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.symbols b/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.symbols index a4fae06f89977..270a17091b720 100644 --- a/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.symbols +++ b/tests/baselines/reference/generatorReturnTypeIndirectReferenceToGlobalType.symbols @@ -3,7 +3,7 @@ === generatorReturnTypeIndirectReferenceToGlobalType.ts === interface I1 extends Iterator<0, 1, 2> {} >I1 : Symbol(I1, Decl(generatorReturnTypeIndirectReferenceToGlobalType.ts, 0, 0)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) function* f1(): I1 { >f1 : Symbol(f1, Decl(generatorReturnTypeIndirectReferenceToGlobalType.ts, 0, 41)) diff --git a/tests/baselines/reference/generatorReturnTypeInference.symbols b/tests/baselines/reference/generatorReturnTypeInference.symbols index cfc8458d01b83..e96d4addcb6f2 100644 --- a/tests/baselines/reference/generatorReturnTypeInference.symbols +++ b/tests/baselines/reference/generatorReturnTypeInference.symbols @@ -76,7 +76,7 @@ function* g103() { // Generator if (Math.random()) return 1; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return 2; @@ -173,13 +173,13 @@ function* g305() { // Generator<1 | 2, "a" | "b", unknown> if (Math.random()) yield 1; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) yield 2; if (Math.random()) return "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return "b"; diff --git a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.symbols b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.symbols index 4cc60dfe91ddd..8ff94bc3cbab5 100644 --- a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.symbols +++ b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.symbols @@ -78,7 +78,7 @@ function* g103() { // Generator if (Math.random()) return 1; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return 2; @@ -175,13 +175,13 @@ function* g305() { // Generator<1 | 2, "a" | "b", unknown> if (Math.random()) yield 1; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) yield 2; if (Math.random()) return "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return "b"; diff --git a/tests/baselines/reference/generatorTypeCheck64.symbols b/tests/baselines/reference/generatorTypeCheck64.symbols index dd0656f99f5e8..ebaae5a6e2157 100644 --- a/tests/baselines/reference/generatorTypeCheck64.symbols +++ b/tests/baselines/reference/generatorTypeCheck64.symbols @@ -19,7 +19,7 @@ function* g3(): Generator number>> { function* g4(): Iterator number>> { >g4 : Symbol(g4, Decl(generatorTypeCheck64.ts, 4, 1)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >Iterable : Symbol(Iterable, Decl(lib.es2015.iterable.d.ts, --, --)) >x : Symbol(x, Decl(generatorTypeCheck64.ts, 6, 35)) diff --git a/tests/baselines/reference/importTag24.symbols b/tests/baselines/reference/importTag24.symbols index 1cfa53ff72210..d31620e7dc400 100644 --- a/tests/baselines/reference/importTag24.symbols +++ b/tests/baselines/reference/importTag24.symbols @@ -17,7 +17,7 @@ export function f2() { /** @type {Set} */ const foo = new Set([ 'a', 'b' ]); >foo : Symbol(foo, Decl(a.js, 6, 9)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) return foo; >foo : Symbol(foo, Decl(a.js, 6, 9)) @@ -30,7 +30,7 @@ function f3() { return undefined; } /** @type {Set} */ export const foo = new Set([ 'a', 'b' ]); >foo : Symbol(foo, Decl(a.js, 13, 12)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) /** * @returns {Foo} diff --git a/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.symbols b/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.symbols index be17297ef32d2..5a583884534b6 100644 --- a/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.symbols +++ b/tests/baselines/reference/inferenceOptionalPropertiesToIndexSignatures.symbols @@ -54,7 +54,7 @@ let a4 = foo(x4); // string | number const param2 = Math.random() < 0.5 ? 'value2' : null; >param2 : Symbol(param2, Decl(inferenceOptionalPropertiesToIndexSignatures.ts, 14, 5)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) const obj = { diff --git a/tests/baselines/reference/intlDurationFormat.symbols b/tests/baselines/reference/intlDurationFormat.symbols new file mode 100644 index 0000000000000..91c2a0f54c15b --- /dev/null +++ b/tests/baselines/reference/intlDurationFormat.symbols @@ -0,0 +1,24 @@ +//// [tests/cases/conformance/es2025/intlDurationFormat.ts] //// + +=== intlDurationFormat.ts === +new Intl.DurationFormat('en').format({ +>new Intl.DurationFormat('en').format : Symbol(Intl.DurationFormat.format, Decl(lib.es2025.intl.d.ts, --, --)) +>Intl.DurationFormat : Symbol(Intl.DurationFormat, Decl(lib.es2025.intl.d.ts, --, --), Decl(lib.es2025.intl.d.ts, --, --)) +>Intl : Symbol(Intl, Decl(lib.es5.d.ts, --, --), Decl(lib.es2016.intl.d.ts, --, --), Decl(lib.es2017.intl.d.ts, --, --), Decl(lib.es2018.intl.d.ts, --, --), Decl(lib.es2019.intl.d.ts, --, --) ... and 6 more) +>DurationFormat : Symbol(Intl.DurationFormat, Decl(lib.es2025.intl.d.ts, --, --), Decl(lib.es2025.intl.d.ts, --, --)) +>format : Symbol(Intl.DurationFormat.format, Decl(lib.es2025.intl.d.ts, --, --)) + + years: 1, +>years : Symbol(years, Decl(intlDurationFormat.ts, 0, 38)) + + hours: 20, +>hours : Symbol(hours, Decl(intlDurationFormat.ts, 1, 11)) + + minutes: 15, +>minutes : Symbol(minutes, Decl(intlDurationFormat.ts, 2, 12)) + + seconds: 35 +>seconds : Symbol(seconds, Decl(intlDurationFormat.ts, 3, 14)) + +}); + diff --git a/tests/baselines/reference/intlDurationFormat.types b/tests/baselines/reference/intlDurationFormat.types new file mode 100644 index 0000000000000..88e4a1eae4338 --- /dev/null +++ b/tests/baselines/reference/intlDurationFormat.types @@ -0,0 +1,49 @@ +//// [tests/cases/conformance/es2025/intlDurationFormat.ts] //// + +=== intlDurationFormat.ts === +new Intl.DurationFormat('en').format({ +>new Intl.DurationFormat('en').format({ years: 1, hours: 20, minutes: 15, seconds: 35}) : string +> : ^^^^^^ +>new Intl.DurationFormat('en').format : (duration: Intl.DurationType) => string +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ +>new Intl.DurationFormat('en') : Intl.DurationFormat +> : ^^^^^^^^^^^^^^^^^^^ +>Intl.DurationFormat : { new (locales?: Intl.LocalesArgument, options?: Intl.DurationFormatOptions): Intl.DurationFormat; prototype: Intl.DurationFormat; supportedLocalesOf(locales?: Intl.LocalesArgument, options?: { localeMatcher?: Intl.DurationTimeFormatLocaleMatcher; }): Intl.UnicodeBCP47LocaleIdentifier[]; } +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>Intl : typeof Intl +> : ^^^^^^^^^^^ +>DurationFormat : { new (locales?: Intl.LocalesArgument, options?: Intl.DurationFormatOptions): Intl.DurationFormat; prototype: Intl.DurationFormat; supportedLocalesOf(locales?: Intl.LocalesArgument, options?: { localeMatcher?: Intl.DurationTimeFormatLocaleMatcher; }): Intl.UnicodeBCP47LocaleIdentifier[]; } +> : ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>'en' : "en" +> : ^^^^ +>format : (duration: Intl.DurationType) => string +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^ +>{ years: 1, hours: 20, minutes: 15, seconds: 35} : { years: number; hours: number; minutes: number; seconds: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + years: 1, +>years : number +> : ^^^^^^ +>1 : 1 +> : ^ + + hours: 20, +>hours : number +> : ^^^^^^ +>20 : 20 +> : ^^ + + minutes: 15, +>minutes : number +> : ^^^^^^ +>15 : 15 +> : ^^ + + seconds: 35 +>seconds : number +> : ^^^^^^ +>35 : 35 +> : ^^ + +}); + diff --git a/tests/baselines/reference/isolatedDeclarationErrorsExpressions.symbols b/tests/baselines/reference/isolatedDeclarationErrorsExpressions.symbols index dce3b41663a73..4710500efbc99 100644 --- a/tests/baselines/reference/isolatedDeclarationErrorsExpressions.symbols +++ b/tests/baselines/reference/isolatedDeclarationErrorsExpressions.symbols @@ -13,7 +13,7 @@ export const numberConstBad1 = 1 + 1; export const numberConstBad2 = Math.random(); >numberConstBad2 : Symbol(numberConstBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 3, 12)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) export const numberConstBad3 = numberConst; @@ -65,7 +65,7 @@ export let numberLetBad1 = 1 + 1; export let numberLetBad2 = Math.random(); >numberLetBad2 : Symbol(numberLetBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 23, 10)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) export let numberLetBad3 = numberLet; @@ -158,7 +158,7 @@ export class Exported { public numberLetBad2 = Math.random(); >numberLetBad2 : Symbol(Exported.numberLetBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 58, 33)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) public numberLetBad3 = numberLet; @@ -207,7 +207,7 @@ export class Exported { readonly numberConstBad2 = Math.random(); >numberConstBad2 : Symbol(Exported.numberConstBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 77, 37)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) readonly numberConstBad3 = numberConst; @@ -288,7 +288,7 @@ export function numberParamBad2(p = Math.random()): void { } >numberParamBad2 : Symbol(numberParamBad2, Decl(isolatedDeclarationErrorsExpressions.ts, 108, 52)) >p : Symbol(p, Decl(isolatedDeclarationErrorsExpressions.ts, 109, 32)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) export function numberParamBad3(p = numberParam): void { } diff --git a/tests/baselines/reference/isolatedDeclarationErrorsObjects.symbols b/tests/baselines/reference/isolatedDeclarationErrorsObjects.symbols index ba5e1c1e0a310..7064d3955c5ad 100644 --- a/tests/baselines/reference/isolatedDeclarationErrorsObjects.symbols +++ b/tests/baselines/reference/isolatedDeclarationErrorsObjects.symbols @@ -17,7 +17,7 @@ export let oBad = { a: Math.random(), >a : Symbol(a, Decl(isolatedDeclarationErrorsObjects.ts, 5, 19)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) } export const V = 1; @@ -32,7 +32,7 @@ export let oBad2 = { b: Math.random(), >b : Symbol(b, Decl(isolatedDeclarationErrorsObjects.ts, 10, 8)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) }, diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols index 1806f8d645812..c7666e88b5aa7 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols @@ -7,7 +7,7 @@ declare const map: Map; declare const set: Set; >set : Symbol(set, Decl(iterableTReturnTNext.ts, 1, 13)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) // based on: // - https://github.com/apollographql/apollo-client/blob/8740f198805a99e01136617c4055d611b92cc231/src/react/hooks/__tests__/useMutation.test.tsx#L2328 diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols index 1806f8d645812..c7666e88b5aa7 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols @@ -7,7 +7,7 @@ declare const map: Map; declare const set: Set; >set : Symbol(set, Decl(iterableTReturnTNext.ts, 1, 13)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) // based on: // - https://github.com/apollographql/apollo-client/blob/8740f198805a99e01136617c4055d611b92cc231/src/react/hooks/__tests__/useMutation.test.tsx#L2328 diff --git a/tests/baselines/reference/libReplacement(libreplacement=true).trace.json b/tests/baselines/reference/libReplacement(libreplacement=true).trace.json index efb15146fd8d9..98bb2eac90791 100644 --- a/tests/baselines/reference/libReplacement(libreplacement=true).trace.json +++ b/tests/baselines/reference/libReplacement(libreplacement=true).trace.json @@ -12,6 +12,19 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", + "======== Resolving module '@typescript/lib-es2025' from '/.src/__lib_node_modules_lookup_lib.es2025.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-es2025' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-es2025'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-es2025'", + "Loading module '@typescript/lib-es2025' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-es2025' was not resolved. ========", "======== Resolving module '@typescript/lib-es2024' from '/.src/__lib_node_modules_lookup_lib.es2024.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2024' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -909,110 +922,136 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2024/string' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", + "======== Resolving module '@typescript/lib-es2025/collection' from '/.src/__lib_node_modules_lookup_lib.es2025.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-es2025/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/intl'", + "Scoped package detected, looking in 'typescript__lib-es2025/collection'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/intl'", - "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-es2025/collection'", + "Loading module '@typescript/lib-es2025/collection' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-es2025/collection' was not resolved. ========", + "======== Resolving module '@typescript/lib-es2025/float16' from '/.src/__lib_node_modules_lookup_lib.es2025.float16.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-es2025/float16' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/decorators'", + "Scoped package detected, looking in 'typescript__lib-es2025/float16'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/decorators'", - "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-es2025/float16'", + "Loading module '@typescript/lib-es2025/float16' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-es2025/float16' was not resolved. ========", + "======== Resolving module '@typescript/lib-es2025/intl' from '/.src/__lib_node_modules_lookup_lib.es2025.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-es2025/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/disposable'", + "Scoped package detected, looking in 'typescript__lib-es2025/intl'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/disposable'", - "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-es2025/intl'", + "Loading module '@typescript/lib-es2025/intl' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-es2025/intl' was not resolved. ========", + "======== Resolving module '@typescript/lib-es2025/iterator' from '/.src/__lib_node_modules_lookup_lib.es2025.iterator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-es2025/iterator' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/collection'", + "Scoped package detected, looking in 'typescript__lib-es2025/iterator'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/collection'", - "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-es2025/iterator'", + "Loading module '@typescript/lib-es2025/iterator' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-es2025/iterator' was not resolved. ========", + "======== Resolving module '@typescript/lib-es2025/promise' from '/.src/__lib_node_modules_lookup_lib.es2025.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-es2025/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/array'", + "Scoped package detected, looking in 'typescript__lib-es2025/promise'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/array'", - "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-es2025/promise'", + "Loading module '@typescript/lib-es2025/promise' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/iterator' from '/.src/__lib_node_modules_lookup_lib.esnext.iterator.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-es2025/promise' was not resolved. ========", + "======== Resolving module '@typescript/lib-es2025/regexp' from '/.src/__lib_node_modules_lookup_lib.es2025.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/iterator' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-es2025/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/iterator'", + "Scoped package detected, looking in 'typescript__lib-es2025/regexp'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/iterator'", - "Loading module '@typescript/lib-esnext/iterator' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-es2025/regexp'", + "Loading module '@typescript/lib-es2025/regexp' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/iterator' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-es2025/regexp' was not resolved. ========", + "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/promise'", + "Scoped package detected, looking in 'typescript__lib-esnext/intl'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/promise'", - "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-esnext/intl'", + "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", + "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-esnext/decorators'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-esnext/decorators'", + "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: JavaScript.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", + "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-esnext/disposable'", + "Directory '/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'typescript__lib-esnext/disposable'", + "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "======== Resolving module '@typescript/lib-esnext/float16' from '/.src/__lib_node_modules_lookup_lib.esnext.float16.d.ts__.ts'. ========", + "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", + "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", - "Loading module '@typescript/lib-esnext/float16' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/float16'", + "Scoped package detected, looking in 'typescript__lib-esnext/array'", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'typescript__lib-esnext/float16'", - "Loading module '@typescript/lib-esnext/float16' from 'node_modules' folder, target file types: JavaScript.", + "Scoped package detected, looking in 'typescript__lib-esnext/array'", + "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-esnext/float16' was not resolved. ========", + "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", "======== Resolving module '@typescript/lib-esnext/error' from '/.src/__lib_node_modules_lookup_lib.esnext.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/mapGroupBy.symbols b/tests/baselines/reference/mapGroupBy.symbols index 615fa155d8928..f63e0c4c8cc80 100644 --- a/tests/baselines/reference/mapGroupBy.symbols +++ b/tests/baselines/reference/mapGroupBy.symbols @@ -24,9 +24,9 @@ type Employee = { name: string, role: 'ic' | 'manager' } const employees: Set = new Set(); >employees : Symbol(employees, Decl(mapGroupBy.ts, 5, 5)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >Employee : Symbol(Employee, Decl(mapGroupBy.ts, 2, 46)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) const byRole = Map.groupBy(employees, x => x.role); >byRole : Symbol(byRole, Decl(mapGroupBy.ts, 6, 5)) diff --git a/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js b/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js index 71a193c369210..ad6e698de4908 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 'es2024' + Default library 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 'es2024' + Default library diff --git a/tests/baselines/reference/objectGroupBy.symbols b/tests/baselines/reference/objectGroupBy.symbols index d16b6f7666751..d130e112eae96 100644 --- a/tests/baselines/reference/objectGroupBy.symbols +++ b/tests/baselines/reference/objectGroupBy.symbols @@ -24,9 +24,9 @@ type Employee = { name: string, role: 'ic' | 'manager' } const employees: Set = new Set(); >employees : Symbol(employees, Decl(objectGroupBy.ts, 5, 5)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >Employee : Symbol(Employee, Decl(objectGroupBy.ts, 2, 49)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) const byRole = Object.groupBy(employees, x => x.role); >byRole : Symbol(byRole, Decl(objectGroupBy.ts, 6, 5)) diff --git a/tests/baselines/reference/promiseTry.symbols b/tests/baselines/reference/promiseTry.symbols index 1ceec7011e54c..75a4ef0f83430 100644 --- a/tests/baselines/reference/promiseTry.symbols +++ b/tests/baselines/reference/promiseTry.symbols @@ -2,122 +2,122 @@ === promiseTry.ts === Promise.try(() => { ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) return "Sync result"; }); Promise.try(async () => { ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) return "Async result"; }); const a = Promise.try(() => "Sync result"); >a : Symbol(a, Decl(promiseTry.ts, 8, 5)) ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) const b = Promise.try(async () => "Async result"); >b : Symbol(b, Decl(promiseTry.ts, 9, 5)) ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) // SINGLE PARAMETER Promise.try((foo: string) => "Async result", "foo"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 12, 13)) Promise.try((foo) => "Async result", "foo"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 13, 13)) // @ts-expect-error too few parameters Promise.try((foo) => "Async result"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 15, 13)) Promise.try((foo: string | undefined) => "Async result", undefined); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 16, 13)) >undefined : Symbol(undefined) Promise.try((foo: string | undefined) => "Async result", "foo"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 17, 13)) Promise.try((foo) => "Async result", undefined); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 18, 13)) >undefined : Symbol(undefined) // @ts-expect-error too many parameters Promise.try(() => "Async result", "foo"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) // MULTIPLE PARAMETERS Promise.try((foo: string, bar: number) => "Async result", "foo", 42); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 23, 13)) >bar : Symbol(bar, Decl(promiseTry.ts, 23, 25)) // @ts-expect-error too many parameters Promise.try((foo: string, bar: number) => "Async result", "foo", 42, "baz"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 25, 13)) >bar : Symbol(bar, Decl(promiseTry.ts, 25, 25)) // @ts-expect-error too few parameters Promise.try((foo: string, bar: number) => "Async result", "foo"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 27, 13)) >bar : Symbol(bar, Decl(promiseTry.ts, 27, 25)) Promise.try((foo: string, bar?: number) => "Async result", "foo"); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 28, 13)) >bar : Symbol(bar, Decl(promiseTry.ts, 28, 25)) Promise.try((foo: string, bar?: number) => "Async result", "foo", undefined); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 29, 13)) >bar : Symbol(bar, Decl(promiseTry.ts, 29, 25)) >undefined : Symbol(undefined) Promise.try((foo: string, bar?: number) => "Async result", "foo", 42); ->Promise.try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>Promise.try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) ->try : Symbol(PromiseConstructor.try, Decl(lib.esnext.promise.d.ts, --, --)) +>try : Symbol(PromiseConstructor.try, Decl(lib.es2025.promise.d.ts, --, --)) >foo : Symbol(foo, Decl(promiseTry.ts, 30, 13)) >bar : Symbol(bar, Decl(promiseTry.ts, 30, 25)) diff --git a/tests/baselines/reference/regExpEscape.symbols b/tests/baselines/reference/regExpEscape.symbols new file mode 100644 index 0000000000000..f7870738d6f39 --- /dev/null +++ b/tests/baselines/reference/regExpEscape.symbols @@ -0,0 +1,15 @@ +//// [tests/cases/conformance/es2025/regExpEscape.ts] //// + +=== regExpEscape.ts === +const regExp = new RegExp(RegExp.escape("foo.bar")); +>regExp : Symbol(regExp, Decl(regExpEscape.ts, 0, 5)) +>RegExp : Symbol(RegExp, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.regexp.d.ts, --, --) ... and 3 more) +>RegExp.escape : Symbol(RegExpConstructor.escape, Decl(lib.es2025.regexp.d.ts, --, --)) +>RegExp : Symbol(RegExp, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.regexp.d.ts, --, --) ... and 3 more) +>escape : Symbol(RegExpConstructor.escape, Decl(lib.es2025.regexp.d.ts, --, --)) + +regExp.test("foo.bar"); +>regExp.test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --)) +>regExp : Symbol(regExp, Decl(regExpEscape.ts, 0, 5)) +>test : Symbol(RegExp.test, Decl(lib.es5.d.ts, --, --)) + diff --git a/tests/baselines/reference/regExpEscape.types b/tests/baselines/reference/regExpEscape.types new file mode 100644 index 0000000000000..7f8ff5da1e553 --- /dev/null +++ b/tests/baselines/reference/regExpEscape.types @@ -0,0 +1,33 @@ +//// [tests/cases/conformance/es2025/regExpEscape.ts] //// + +=== regExpEscape.ts === +const regExp = new RegExp(RegExp.escape("foo.bar")); +>regExp : RegExp +> : ^^^^^^ +>new RegExp(RegExp.escape("foo.bar")) : RegExp +> : ^^^^^^ +>RegExp : RegExpConstructor +> : ^^^^^^^^^^^^^^^^^ +>RegExp.escape("foo.bar") : string +> : ^^^^^^ +>RegExp.escape : (string: string) => string +> : ^ ^^ ^^^^^ +>RegExp : RegExpConstructor +> : ^^^^^^^^^^^^^^^^^ +>escape : (string: string) => string +> : ^ ^^ ^^^^^ +>"foo.bar" : "foo.bar" +> : ^^^^^^^^^ + +regExp.test("foo.bar"); +>regExp.test("foo.bar") : boolean +> : ^^^^^^^ +>regExp.test : (string: string) => boolean +> : ^ ^^ ^^^^^ +>regExp : RegExp +> : ^^^^^^ +>test : (string: string) => boolean +> : ^ ^^ ^^^^^ +>"foo.bar" : "foo.bar" +> : ^^^^^^^^^ + diff --git a/tests/baselines/reference/setMethods.symbols b/tests/baselines/reference/setMethods.symbols index e2c233be0d99e..e078e1a50f94f 100644 --- a/tests/baselines/reference/setMethods.symbols +++ b/tests/baselines/reference/setMethods.symbols @@ -3,11 +3,11 @@ === setMethods.ts === let numberSet = new Set([0, 1, 2]); >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) let stringSet = new Set(["a", "b"]); >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) let numberMap = new Map([[4, {}], [5, {}]]); >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) @@ -30,205 +30,205 @@ let numberSetLike = { }; numberSet.union([]); ->numberSet.union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.union(new Set); ->numberSet.union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.union(stringSet); ->numberSet.union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.union(numberMap); ->numberSet.union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.union(numberSetLike); ->numberSet.union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->union : Symbol(Set.union, Decl(lib.esnext.collection.d.ts, --, --)) +>union : Symbol(Set.union, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) numberSet.intersection([]); ->numberSet.intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.intersection(new Set); ->numberSet.intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.intersection(stringSet); ->numberSet.intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.intersection(numberMap); ->numberSet.intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.intersection(numberSetLike); ->numberSet.intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->intersection : Symbol(Set.intersection, Decl(lib.esnext.collection.d.ts, --, --)) +>intersection : Symbol(Set.intersection, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) numberSet.difference([]); ->numberSet.difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.difference(new Set); ->numberSet.difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.difference(stringSet); ->numberSet.difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.difference(numberMap); ->numberSet.difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.difference(numberSetLike); ->numberSet.difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->difference : Symbol(Set.difference, Decl(lib.esnext.collection.d.ts, --, --)) +>difference : Symbol(Set.difference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) numberSet.symmetricDifference([]); ->numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.symmetricDifference(new Set); ->numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.symmetricDifference(stringSet); ->numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.symmetricDifference(numberMap); ->numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.symmetricDifference(numberSetLike); ->numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.esnext.collection.d.ts, --, --)) +>symmetricDifference : Symbol(Set.symmetricDifference, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) numberSet.isSubsetOf([]); ->numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.isSubsetOf(new Set); ->numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.isSubsetOf(stringSet); ->numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.isSubsetOf(numberMap); ->numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.isSubsetOf(numberSetLike); ->numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSubsetOf : Symbol(Set.isSubsetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) numberSet.isSupersetOf([]); ->numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.isSupersetOf(new Set); ->numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.isSupersetOf(stringSet); ->numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.isSupersetOf(numberMap); ->numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.isSupersetOf(numberSetLike); ->numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.esnext.collection.d.ts, --, --)) +>isSupersetOf : Symbol(Set.isSupersetOf, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) numberSet.isDisjointFrom([]); ->numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) numberSet.isDisjointFrom(new Set); ->numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) numberSet.isDisjointFrom(stringSet); ->numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >stringSet : Symbol(stringSet, Decl(setMethods.ts, 2, 3)) numberSet.isDisjointFrom(numberMap); ->numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberMap : Symbol(numberMap, Decl(setMethods.ts, 4, 3)) numberSet.isDisjointFrom(numberSetLike); ->numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>numberSet.isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberSet : Symbol(numberSet, Decl(setMethods.ts, 0, 3)) ->isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.esnext.collection.d.ts, --, --)) +>isDisjointFrom : Symbol(Set.isDisjointFrom, Decl(lib.es2025.collection.d.ts, --, --)) >numberSetLike : Symbol(numberSetLike, Decl(setMethods.ts, 6, 3)) diff --git a/tests/baselines/reference/simpleRecursionWithBaseCase2.symbols b/tests/baselines/reference/simpleRecursionWithBaseCase2.symbols index 6e2a9b63c1299..1e68f9d54e6a6 100644 --- a/tests/baselines/reference/simpleRecursionWithBaseCase2.symbols +++ b/tests/baselines/reference/simpleRecursionWithBaseCase2.symbols @@ -6,7 +6,7 @@ async function rec1() { if (Math.random() < 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return rec1(); @@ -22,7 +22,7 @@ async function rec2() { if (Math.random() < 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return await rec2(); @@ -52,7 +52,7 @@ async function rec5() { if (Math.random() < 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return ((rec1())); @@ -68,7 +68,7 @@ async function rec6() { if (Math.random() < 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return await ((rec1())); @@ -88,7 +88,7 @@ async function foo1() { if (Math.random() > 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return ps; @@ -105,7 +105,7 @@ async function foo2() { if (Math.random() > 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return ps; diff --git a/tests/baselines/reference/simpleRecursionWithBaseCase3.symbols b/tests/baselines/reference/simpleRecursionWithBaseCase3.symbols index 255b3fc481fcb..cff45514eccdd 100644 --- a/tests/baselines/reference/simpleRecursionWithBaseCase3.symbols +++ b/tests/baselines/reference/simpleRecursionWithBaseCase3.symbols @@ -6,7 +6,7 @@ const fn1 = () => { if (Math.random() > 0.5) { >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) return fn1() diff --git a/tests/baselines/reference/substitutionTypePassedToExtends.symbols b/tests/baselines/reference/substitutionTypePassedToExtends.symbols index 74d2d650efcc4..dea1e09316f01 100644 --- a/tests/baselines/reference/substitutionTypePassedToExtends.symbols +++ b/tests/baselines/reference/substitutionTypePassedToExtends.symbols @@ -19,16 +19,16 @@ type Bar1 = T type Foo2 = Set extends Set ? Bar2> : 'else' >Foo2 : Symbol(Foo2, Decl(substitutionTypePassedToExtends.ts, 1, 36)) >A : Symbol(A, Decl(substitutionTypePassedToExtends.ts, 3, 10)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >A : Symbol(A, Decl(substitutionTypePassedToExtends.ts, 3, 10)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >Bar2 : Symbol(Bar2, Decl(substitutionTypePassedToExtends.ts, 3, 68)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >A : Symbol(A, Decl(substitutionTypePassedToExtends.ts, 3, 10)) type Bar2> = T >Bar2 : Symbol(Bar2, Decl(substitutionTypePassedToExtends.ts, 3, 68)) >T : Symbol(T, Decl(substitutionTypePassedToExtends.ts, 4, 10)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >T : Symbol(T, Decl(substitutionTypePassedToExtends.ts, 4, 10)) diff --git a/tests/baselines/reference/syncIteratorHelpers.symbols b/tests/baselines/reference/syncIteratorHelpers.symbols new file mode 100644 index 0000000000000..c1ee2b4db8221 --- /dev/null +++ b/tests/baselines/reference/syncIteratorHelpers.symbols @@ -0,0 +1,23 @@ +//// [tests/cases/conformance/es2025/syncIteratorHelpers.ts] //// + +=== syncIteratorHelpers.ts === +[1, 2, 3, 4].values() +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) .map((x) => x * 10) .toArray : Symbol(IteratorObject.toArray, Decl(lib.es2025.iterator.d.ts, --, --)) +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) .map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) +>[1, 2, 3, 4].values() .filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>[1, 2, 3, 4].values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) +>values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) + + .filter((x) => x % 2 === 0) +>filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>x : Symbol(x, Decl(syncIteratorHelpers.ts, 1, 13)) +>x : Symbol(x, Decl(syncIteratorHelpers.ts, 1, 13)) + + .map((x) => x * 10) +>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --)) +>x : Symbol(x, Decl(syncIteratorHelpers.ts, 2, 10)) +>x : Symbol(x, Decl(syncIteratorHelpers.ts, 2, 10)) + + .toArray(); +>toArray : Symbol(IteratorObject.toArray, Decl(lib.es2025.iterator.d.ts, --, --)) + diff --git a/tests/baselines/reference/syncIteratorHelpers.types b/tests/baselines/reference/syncIteratorHelpers.types new file mode 100644 index 0000000000000..aeec2f7975257 --- /dev/null +++ b/tests/baselines/reference/syncIteratorHelpers.types @@ -0,0 +1,69 @@ +//// [tests/cases/conformance/es2025/syncIteratorHelpers.ts] //// + +=== syncIteratorHelpers.ts === +[1, 2, 3, 4].values() +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) .map((x) => x * 10) .toArray() : number[] +> : ^^^^^^^^ +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) .map((x) => x * 10) .toArray : () => number[] +> : ^^^^^^^^^^^^^^ +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) .map((x) => x * 10) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) .map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[1, 2, 3, 4].values() .filter((x) => x % 2 === 0) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[1, 2, 3, 4].values() .filter : { (predicate: (value: number, index: number) => value is S): IteratorObject; (predicate: (value: number, index: number) => unknown): IteratorObject; } +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[1, 2, 3, 4].values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>[1, 2, 3, 4].values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[1, 2, 3, 4] : number[] +> : ^^^^^^^^ +>1 : 1 +> : ^ +>2 : 2 +> : ^ +>3 : 3 +> : ^ +>4 : 4 +> : ^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + .filter((x) => x % 2 === 0) +>filter : { (predicate: (value: number, index: number) => value is S): IteratorObject; (predicate: (value: number, index: number) => unknown): IteratorObject; } +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>(x) => x % 2 === 0 : (x: number) => boolean +> : ^ ^^^^^^^^^^^^^^^^^^^^ +>x : number +> : ^^^^^^ +>x % 2 === 0 : boolean +> : ^^^^^^^ +>x % 2 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>2 : 2 +> : ^ +>0 : 0 +> : ^ + + .map((x) => x * 10) +>map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>(x) => x * 10 : (x: number) => number +> : ^ ^^^^^^^^^^^^^^^^^^^ +>x : number +> : ^^^^^^ +>x * 10 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>10 : 10 +> : ^^ + + .toArray(); +>toArray : () => number[] +> : ^^^^^^^^^^^^^^ + 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 c4de227a98391..52f7c9582eacc 100644 --- a/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js +++ b/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js @@ -38,14 +38,12 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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] export const x = 10; 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 ebb3f9bd22947..10a80338092bd 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 c32c8308cf3ce..6958d0133182f 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 cb160b0e57612..cb5ddc227483e 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,8 +45,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = 10; const aLocal = 10; @@ -68,12 +66,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -88,7 +86,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -137,7 +135,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 869 + "size": 857 } @@ -154,21 +152,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -212,12 +210,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -232,7 +230,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -284,7 +282,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 898 + "size": 886 } //// [/home/src/workspaces/project/a.js.map] @@ -314,7 +312,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -362,12 +360,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -382,7 +380,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -431,7 +429,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 869 + "size": 857 } @@ -448,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -476,12 +474,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -496,7 +494,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -564,7 +562,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1176 + "size": 1164 } //// [/home/src/workspaces/project/a.d.ts] @@ -598,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -626,12 +624,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -646,7 +644,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -715,7 +713,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1198 + "size": 1186 } //// [/home/src/workspaces/project/a.d.ts] @@ -762,7 +760,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -814,12 +812,12 @@ const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -834,7 +832,7 @@ const aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -899,7 +897,7 @@ const aLocal = 100; ] }, "version": "FakeTSVersion", - "size": 1146 + "size": 1134 } @@ -916,7 +914,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -946,12 +944,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -966,7 +964,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1035,7 +1033,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1199 + "size": 1187 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1062,7 +1060,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1126,12 +1124,12 @@ export const d = b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1146,7 +1144,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1214,7 +1212,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 1181 + "size": 1169 } @@ -1232,7 +1230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1280,12 +1278,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1300,7 +1298,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1368,7 +1366,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 1175 + "size": 1163 } //// [/home/src/workspaces/project/a.js.map] @@ -1392,7 +1390,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1440,12 +1438,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1460,7 +1458,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1525,7 +1523,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 1146 + "size": 1134 } @@ -1542,7 +1540,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1570,12 +1568,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1590,7 +1588,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1659,7 +1657,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1199 + "size": 1187 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1686,7 +1684,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9018941ed4066..9607fafa05618 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/different-options.js @@ -45,8 +45,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = 10; const aLocal = 10; @@ -84,12 +82,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -104,7 +102,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -173,7 +171,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -190,21 +188,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -248,12 +246,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -268,7 +266,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -338,7 +336,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1225 + "size": 1213 } //// [/home/src/workspaces/project/a.js.map] @@ -368,7 +366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -416,12 +414,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -436,7 +434,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -505,7 +503,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -522,7 +520,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -598,12 +596,12 @@ export declare const d = 10; //# sourceMappingURL=d.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -618,7 +616,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -689,7 +687,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1249 + "size": 1237 } //// [/home/src/workspaces/project/a.d.ts.map] @@ -720,7 +718,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -764,12 +762,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -784,7 +782,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -853,7 +851,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -870,7 +868,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -938,12 +936,12 @@ const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -958,7 +956,7 @@ const aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1027,7 +1025,7 @@ const aLocal = 100; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1209 + "size": 1197 } @@ -1044,7 +1042,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1110,12 +1108,12 @@ export const d = b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1130,7 +1128,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1200,7 +1198,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1232 + "size": 1220 } @@ -1218,7 +1216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1266,12 +1264,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1286,7 +1284,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1356,7 +1354,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1214 } //// [/home/src/workspaces/project/a.js.map] @@ -1380,7 +1378,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5db82aa736a44..6be4eaf824fb7 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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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 40e22bdfb74c6..12f931c45fd53 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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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 5b738db5bb561..98ac330f40ce9 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,8 +87,6 @@ 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; @@ -106,12 +104,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -126,7 +124,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -195,7 +193,7 @@ export declare const d = 10; ] }, "version": "FakeTSVersion", - "size": 1209 + "size": 1197 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -211,12 +209,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -232,7 +230,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -302,7 +300,7 @@ export declare const g = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -327,7 +325,7 @@ export declare const g = 10; ] ], "version": "FakeTSVersion", - "size": 1285 + "size": 1273 } @@ -346,21 +344,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -380,7 +378,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -390,7 +388,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -444,7 +442,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -494,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -514,7 +512,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -583,7 +581,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1223 + "size": 1211 } @@ -602,7 +600,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -628,7 +626,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -674,12 +672,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -694,7 +692,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -763,16 +761,16 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1224 + "size": 1212 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -788,7 +786,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -858,7 +856,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -883,7 +881,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1286 + "size": 1274 } //// [/home/src/workspaces/solution/project1/src/a.js] @@ -937,7 +935,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -961,7 +959,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1019,7 +1017,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1077,7 +1075,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1127,12 +1125,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1147,7 +1145,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1216,7 +1214,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1241 + "size": 1229 } //// [/home/src/workspaces/solution/project1/src/b.js] @@ -1241,7 +1239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1267,7 +1265,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79dcf3ca57731..05a0b76821328 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,8 +85,6 @@ 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; @@ -160,21 +158,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -193,7 +191,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -203,7 +201,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -271,7 +269,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -341,21 +339,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -374,7 +372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -384,7 +382,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -486,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -519,7 +517,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -529,7 +527,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -587,7 +585,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -597,7 +595,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -658,7 +656,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -668,7 +666,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -750,21 +748,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -783,7 +781,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -793,7 +791,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 919f600264ea2..ac1925539438b 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,8 +73,6 @@ 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; @@ -92,12 +90,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -112,7 +110,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -182,7 +180,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1241 + "size": 1229 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -198,12 +196,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -219,7 +217,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -289,7 +287,7 @@ export declare const g = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1274 + "size": 1262 } @@ -307,21 +305,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -340,7 +338,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -348,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -356,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -408,12 +406,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -428,7 +426,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -498,7 +496,7 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1255 + "size": 1243 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -517,7 +515,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -552,12 +550,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -572,7 +570,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -642,16 +640,16 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1256 + "size": 1244 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -667,7 +665,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -737,7 +735,7 @@ Output:: }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1275 + "size": 1263 } //// [/home/src/workspaces/solution/project1/src/a.js] @@ -790,7 +788,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +811,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -888,12 +886,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -908,7 +906,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -978,7 +976,7 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1273 + "size": 1261 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -1003,7 +1001,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 af812c8084c96..5083ff27158da 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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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 497bbdbe2704c..fe05fb9ec5707 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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../tslibs/ts/lib/lib.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 806d9414c78f9..6081fd47ce118 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,8 +85,6 @@ 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 +102,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -124,7 +122,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -193,7 +191,7 @@ export declare const d = 10; ] }, "version": "FakeTSVersion", - "size": 1209 + "size": 1197 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -209,12 +207,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -230,7 +228,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -300,7 +298,7 @@ export declare const g = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -325,7 +323,7 @@ export declare const g = 10; ] ], "version": "FakeTSVersion", - "size": 1285 + "size": 1273 } @@ -344,21 +342,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +376,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +386,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +440,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +490,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -512,7 +510,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -581,7 +579,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1223 + "size": 1211 } @@ -600,7 +598,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +624,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -681,12 +679,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -701,7 +699,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -770,17 +768,17 @@ export declare const aaa = 10; ] }, "version": "FakeTSVersion", - "size": 1276 + "size": 1264 } //// [/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.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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -796,7 +794,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -866,7 +864,7 @@ export declare const aaa = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -891,7 +889,7 @@ export declare const aaa = 10; ] ], "version": "FakeTSVersion", - "size": 1317 + "size": 1305 } @@ -910,7 +908,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -938,7 +936,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -986,12 +984,12 @@ Found 1 error. //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1006,7 +1004,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1074,16 +1072,16 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1249 + "size": 1237 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1099,7 +1097,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1168,7 +1166,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1193,7 +1191,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } //// [/home/src/workspaces/solution/project1/src/a.js] @@ -1247,7 +1245,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1270,7 +1268,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1328,7 +1326,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1378,12 +1376,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1398,7 +1396,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1466,7 +1464,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1267 + "size": 1255 } //// [/home/src/workspaces/solution/project1/src/b.js] @@ -1490,7 +1488,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1515,7 +1513,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1565,12 +1563,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1585,7 +1583,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1654,7 +1652,7 @@ Found 1 error. ] }, "version": "FakeTSVersion", - "size": 1310 + "size": 1298 } @@ -1673,7 +1671,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1699,7 +1697,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1754,12 +1752,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1774,7 +1772,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1843,17 +1841,17 @@ export declare const aaaaa = 10; ] }, "version": "FakeTSVersion", - "size": 1367 + "size": 1355 } //// [/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.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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1869,7 +1867,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1939,7 +1937,7 @@ export declare const aaaaa = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1964,7 +1962,7 @@ export declare const aaaaa = 10; ] ], "version": "FakeTSVersion", - "size": 1350 + "size": 1338 } @@ -1983,7 +1981,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2011,7 +2009,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2069,12 +2067,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -2089,7 +2087,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -2157,17 +2155,17 @@ export declare const a2 = 10; ] }, "version": "FakeTSVersion", - "size": 1394 + "size": 1382 } //// [/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.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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -2183,7 +2181,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -2252,7 +2250,7 @@ export declare const a2 = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2277,7 +2275,7 @@ export declare const a2 = 10; ] ], "version": "FakeTSVersion", - "size": 1355 + "size": 1343 } //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents @@ -2310,7 +2308,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2337,7 +2335,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4f91016bf6893..8715e08f3f128 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,8 +83,6 @@ 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 +156,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +199,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +257,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +267,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +337,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +370,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +380,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -456,21 +454,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -489,7 +487,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -499,7 +497,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -601,21 +599,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -633,7 +631,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -643,7 +641,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -701,7 +699,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -711,7 +709,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -792,21 +790,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -824,7 +822,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -834,7 +832,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -904,21 +902,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -937,7 +935,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -947,7 +945,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -1021,21 +1019,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -1054,7 +1052,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1064,7 +1062,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -1153,21 +1151,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -1185,7 +1183,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1195,7 +1193,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 12a49b555cab0..9dab497331b18 100644 --- a/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/multiFile/emitDeclarationOnly-on-commandline.js @@ -71,8 +71,6 @@ 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 +88,12 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -110,7 +108,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -180,7 +178,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1241 + "size": 1229 } //// [/home/src/workspaces/solution/project2/src/e.d.ts] @@ -196,12 +194,12 @@ export declare const g = 10; //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -217,7 +215,7 @@ export declare const g = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -287,7 +285,7 @@ export declare const g = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1274 + "size": 1262 } @@ -305,21 +303,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +336,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +344,7 @@ Program files:: /home/src/workspaces/solution/project2/src/g.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +352,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +404,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -426,7 +424,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -496,7 +494,7 @@ Output:: }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1255 + "size": 1243 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -515,7 +513,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -558,12 +556,12 @@ export declare const aaa = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -578,7 +576,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -648,16 +646,16 @@ export declare const aaa = 10; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -673,7 +671,7 @@ export declare const aaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -743,7 +741,7 @@ export declare const aaa = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1306 + "size": 1294 } @@ -761,7 +759,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -788,7 +786,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -826,12 +824,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -846,7 +844,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -915,16 +913,16 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1281 + "size": 1269 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -940,7 +938,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1009,7 +1007,7 @@ Output:: }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1279 + "size": 1267 } //// [/home/src/workspaces/solution/project1/src/a.js] @@ -1062,7 +1060,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1084,7 +1082,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1140,12 +1138,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1160,7 +1158,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1229,7 +1227,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1299 + "size": 1287 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -1253,7 +1251,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1291,12 +1289,12 @@ Output:: //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1311,7 +1309,7 @@ Output:: ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1381,7 +1379,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1342 + "size": 1330 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -1400,7 +1398,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1443,12 +1441,12 @@ export declare const aaaaa = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1463,7 +1461,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1533,16 +1531,16 @@ export declare const aaaaa = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1399 + "size": 1387 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1558,7 +1556,7 @@ export declare const aaaaa = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1628,7 +1626,7 @@ export declare const aaaaa = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1339 + "size": 1327 } @@ -1646,7 +1644,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1673,7 +1671,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1720,12 +1718,12 @@ export declare const a2 = 10; //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1740,7 +1738,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1809,16 +1807,16 @@ export declare const a2 = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1426 + "size": 1414 } //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./e.ts", "../../project1/src/a.d.ts", "./f.ts", @@ -1834,7 +1832,7 @@ export declare const a2 = 10; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -1903,7 +1901,7 @@ export declare const a2 = 10; }, "latestChangedDtsFile": "./g.d.ts", "version": "FakeTSVersion", - "size": 1344 + "size": 1332 } //// [/home/src/workspaces/solution/project1/src/a.js] file written with same contents @@ -1935,7 +1933,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1961,7 +1959,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79d56fa906ff8..0150b50b7cb26 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 f9ad7e748273b..b095f92cef9e5 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 b3742ce42a29d..1d473afa71f1b 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,8 +60,6 @@ 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"; @@ -92,19 +90,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -130,7 +128,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -151,7 +149,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 895 + "size": 883 } @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -240,19 +238,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -279,7 +277,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -300,7 +298,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 912 + "size": 900 } //// [/home/src/workspaces/outFile.js.map] @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -393,19 +391,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -431,7 +429,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -452,7 +450,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 895 + "size": 883 } @@ -471,7 +469,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -512,19 +510,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -551,7 +549,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -572,7 +570,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 914 + "size": 902 } //// [/home/src/workspaces/outFile.d.ts] @@ -607,7 +605,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -648,19 +646,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -688,7 +686,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -709,7 +707,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 936 + "size": 924 } //// [/home/src/workspaces/outFile.d.ts] @@ -748,7 +746,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -804,7 +802,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -877,19 +875,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -915,7 +913,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -936,7 +934,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 896 + "size": 884 } @@ -955,7 +953,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -996,19 +994,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1036,7 +1034,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1057,7 +1055,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 937 + "size": 925 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1080,7 +1078,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1136,7 +1134,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1206,19 +1204,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1245,7 +1243,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1266,7 +1264,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 919 + "size": 907 } @@ -1286,7 +1284,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1356,19 +1354,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1395,7 +1393,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1416,7 +1414,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 913 + "size": 901 } //// [/home/src/workspaces/outFile.js.map] @@ -1439,7 +1437,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1509,19 +1507,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1547,7 +1545,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1568,7 +1566,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 896 + "size": 884 } @@ -1587,7 +1585,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1628,19 +1626,19 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1668,7 +1666,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1689,7 +1687,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 937 + "size": 925 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1712,7 +1710,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1770,7 +1768,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c45b6e454f4f0..46cccc205c07e 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/different-options.js @@ -60,8 +60,6 @@ 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"; @@ -107,19 +105,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -146,7 +144,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -169,7 +167,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": 1195 + "size": 1183 } @@ -188,7 +186,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -258,19 +256,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -298,7 +296,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -321,7 +319,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": 1212 + "size": 1200 } //// [/home/src/workspaces/outFile.js.map] @@ -344,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -414,19 +412,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -453,7 +451,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -476,7 +474,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": 1195 + "size": 1183 } @@ -495,7 +493,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -552,7 +550,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -608,7 +606,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -664,19 +662,19 @@ declare module "d" { //# sourceMappingURL=outFile.d.ts.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -705,7 +703,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -728,7 +726,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": 1236 + "size": 1224 } //// [/home/src/workspaces/outFile.d.ts.map] @@ -752,7 +750,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -808,19 +806,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -847,7 +845,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -870,7 +868,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": 1195 + "size": 1183 } @@ -889,7 +887,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -946,7 +944,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1002,7 +1000,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1075,19 +1073,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1114,7 +1112,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1137,7 +1135,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": 1196 + "size": 1184 } @@ -1156,7 +1154,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1213,7 +1211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1283,19 +1281,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1323,7 +1321,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1346,7 +1344,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": 1219 + "size": 1207 } @@ -1366,7 +1364,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1436,19 +1434,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1476,7 +1474,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1499,7 +1497,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": 1213 + "size": 1201 } //// [/home/src/workspaces/outFile.js.map] @@ -1522,7 +1520,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0fa77a8c52a2c..89604e1643122 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 12f41618081ef..80000267eb91f 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 d213bd530979f..6dea32b2bea22 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,8 +111,6 @@ 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; @@ -129,19 +127,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -169,7 +167,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -190,7 +188,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 931 + "size": 919 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -206,19 +204,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -245,7 +243,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -266,7 +264,7 @@ declare module "g" { ] ], "version": "FakeTSVersion", - "size": 1101 + "size": 1089 } @@ -287,7 +285,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -313,7 +311,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -395,7 +393,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -421,7 +419,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -490,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -530,7 +528,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -551,7 +549,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 945 + "size": 933 } @@ -572,7 +570,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -598,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -663,19 +661,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -703,7 +701,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -724,23 +722,23 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 946 + "size": 934 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -767,7 +765,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -788,7 +786,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1102 + "size": 1090 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -860,7 +858,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -886,7 +884,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -968,7 +966,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -994,7 +992,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1076,7 +1074,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1102,7 +1100,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1171,19 +1169,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1211,7 +1209,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1232,7 +1230,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 963 + "size": 951 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1284,7 +1282,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1310,7 +1308,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 eb481afc598dd..1bffee32c9262 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,8 +109,6 @@ 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; @@ -186,7 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -211,7 +209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -298,7 +296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -413,7 +411,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -438,7 +436,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -576,7 +574,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -601,7 +599,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -688,7 +686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -713,7 +711,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -802,7 +800,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -827,7 +825,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -949,7 +947,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -974,7 +972,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4200859d37ca9..3299eafc9b548 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,8 +100,6 @@ 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; @@ -118,19 +116,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -158,7 +156,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -181,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": 1212 + "size": 1200 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -197,19 +195,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -236,7 +234,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -259,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": 1329 + "size": 1317 } @@ -279,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -304,7 +302,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -376,7 +374,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -401,7 +399,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -460,19 +458,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -500,7 +498,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -523,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": 1226 + "size": 1214 } @@ -543,7 +541,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -568,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -624,19 +622,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -664,7 +662,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -687,23 +685,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": 1227 + "size": 1215 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -730,7 +728,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -753,7 +751,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": 1330 + "size": 1318 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -824,7 +822,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -849,7 +847,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -921,7 +919,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -946,7 +944,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1018,7 +1016,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1043,7 +1041,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1102,19 +1100,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1142,7 +1140,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1165,7 +1163,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": 1244 + "size": 1232 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1216,7 +1214,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1241,7 +1239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 db896de2030c9..78f4486213620 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 48f71e5236cf7..4400dc3a75b7b 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 bf91bd8977361..163a90ed975f4 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,8 +109,6 @@ 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 +125,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +165,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -188,7 +186,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 931 + "size": 919 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -204,19 +202,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +241,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -264,7 +262,7 @@ declare module "g" { ] ], "version": "FakeTSVersion", - "size": 1101 + "size": 1089 } @@ -285,7 +283,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +309,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +391,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +417,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +486,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +526,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -549,7 +547,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 945 + "size": 933 } @@ -570,7 +568,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +594,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -680,19 +678,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -720,7 +718,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -741,24 +739,24 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 966 + "size": 954 } //// [/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.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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -785,7 +783,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -806,7 +804,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1126 + "size": 1114 } @@ -827,7 +825,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -853,7 +851,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -918,19 +916,19 @@ Found 5 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -957,7 +955,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -978,23 +976,23 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 939 + "size": 927 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1020,7 +1018,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1041,7 +1039,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1099 + "size": 1087 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1113,7 +1111,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1138,7 +1136,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1220,7 +1218,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1246,7 +1244,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1315,19 +1313,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1354,7 +1352,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1375,7 +1373,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 957 + "size": 945 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1427,7 +1425,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1452,7 +1450,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1521,19 +1519,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.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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1561,7 +1559,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1582,7 +1580,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1000 + "size": 988 } @@ -1603,7 +1601,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1629,7 +1627,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1714,19 +1712,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1754,7 +1752,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1775,24 +1773,24 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1024 + "size": 1012 } //// [/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.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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1819,7 +1817,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1840,7 +1838,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1158 + "size": 1146 } @@ -1861,7 +1859,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1887,7 +1885,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1973,19 +1971,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -2012,7 +2010,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2033,24 +2031,24 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1019 + "size": 1007 } //// [/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.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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -2076,7 +2074,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2097,7 +2095,7 @@ declare module "d" { ] ], "version": "FakeTSVersion", - "size": 1157 + "size": 1145 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -2153,7 +2151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2178,7 +2176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ac76ef1a3a899..d5514118bbb84 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,8 +107,6 @@ 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 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +294,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +409,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +434,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -541,7 +539,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +564,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -704,7 +702,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -728,7 +726,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -815,7 +813,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -840,7 +838,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -962,7 +960,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -986,7 +984,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1076,7 +1074,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1101,7 +1099,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1207,7 +1205,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1232,7 +1230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1374,7 +1372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1398,7 +1396,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3ba91288e1fde..41829fcd1e846 100644 --- a/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/outFile/emitDeclarationOnly-on-commandline.js @@ -98,8 +98,6 @@ 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 +114,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +154,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -179,7 +177,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": 1212 + "size": 1200 } //// [/home/src/workspaces/solution/project2/outFile.d.ts] @@ -195,19 +193,19 @@ declare module "g" { //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +232,7 @@ declare module "g" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -257,7 +255,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": 1329 + "size": 1317 } @@ -277,7 +275,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +300,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +372,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +397,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +456,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +496,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -521,7 +519,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": 1226 + "size": 1214 } @@ -541,7 +539,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +564,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -641,19 +639,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -681,7 +679,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -704,23 +702,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": 1272 + "size": 1260 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -747,7 +745,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -770,7 +768,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": 1354 + "size": 1342 } @@ -790,7 +788,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -815,7 +813,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -871,19 +869,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -910,7 +908,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -933,23 +931,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": 1245 + "size": 1233 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -975,7 +973,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -998,7 +996,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": 1327 + "size": 1315 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1069,7 +1067,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1093,7 +1091,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1165,7 +1163,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1190,7 +1188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1249,19 +1247,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1288,7 +1286,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1311,7 +1309,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": 1263 + "size": 1251 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -1362,7 +1360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1386,7 +1384,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1445,19 +1443,19 @@ Found 4 errors. //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1485,7 +1483,7 @@ Found 4 errors. }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1508,7 +1506,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": 1306 + "size": 1294 } @@ -1528,7 +1526,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1553,7 +1551,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1629,19 +1627,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1669,7 +1667,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1692,23 +1690,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": 1362 + "size": 1350 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1735,7 +1733,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1758,7 +1756,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": 1386 + "size": 1374 } @@ -1778,7 +1776,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1803,7 +1801,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1880,19 +1878,19 @@ declare module "d" { //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project1/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/a.ts", "./src/b.ts", "./src/c.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1919,7 +1917,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1942,23 +1940,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": 1383 + "size": 1371 } //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/outfile.d.ts", "./src/e.ts", "./src/f.ts", "./src/g.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;", @@ -1984,7 +1982,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2007,7 +2005,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": 1385 + "size": 1373 } //// [/home/src/workspaces/solution/project1/outFile.js] @@ -2062,7 +2060,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2086,7 +2084,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 29df5971c4446..18e0a7bc8d9eb 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 42883304958dd..b8dc4330f3435 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,8 +44,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export function foo() { } @@ -63,17 +61,17 @@ export declare function bar(): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -115,7 +113,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./b.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 877 + "size": 865 } @@ -182,17 +180,17 @@ export declare function fooBar(): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -235,7 +233,7 @@ export declare function fooBar(): void; "latestChangedDtsFile": "./a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 965 + "size": 953 } @@ -281,17 +279,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -333,7 +331,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 951 + "size": 939 } 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 af9d67d83a0a1..df06354e36341 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 45ad91f9c0697..57db1041e4a5e 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,8 +57,6 @@ 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"; @@ -84,17 +82,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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() { }" }, @@ -115,7 +113,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -130,7 +128,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": 915 + "size": 903 } @@ -237,17 +235,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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() { }" }, @@ -269,7 +267,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -284,7 +282,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": 1000 + "size": 988 } 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 f25e22af69e7a..176a1f15f1703 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,20 +85,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/shared/tsconfig.json'... -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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] export const a = 1; @@ -108,17 +106,17 @@ export declare const a: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../shared/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -162,7 +160,7 @@ export declare const a: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 909 } //// [/home/src/workspaces/solution/target-tsc-build/webpack/index.js] @@ -174,17 +172,17 @@ export declare const b: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../webpack/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -228,7 +226,7 @@ export declare const b: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 924 + "size": 912 } 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 82d8a199b7c54..6c003a9e0cfcf 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,20 +86,18 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/shared/tsconfig.json'... -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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] export const a = 1; @@ -109,17 +107,17 @@ export declare const a: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../shared/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -163,7 +161,7 @@ export declare const a: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 909 } //// [/home/src/workspaces/solution/target-tsc-build/webpack/index.js] @@ -175,17 +173,17 @@ export declare const b: Unrestricted; //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../webpack/index.ts", "../../shared/typings-base/globals.d.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -229,7 +227,7 @@ export declare const b: Unrestricted; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 924 + "size": 912 } 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 227e825be0a47..55cd9800dae6f 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,8 +114,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/src/folder/index.js] export const x = 10; @@ -125,16 +123,16 @@ export declare const x = 10; //// [/home/src/workspaces/solution/src/folder/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/src/folder/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -163,7 +161,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 739 + "size": 727 } //// [/home/src/workspaces/solution/src/folder2/index.js] @@ -175,16 +173,16 @@ export declare const x = 10; //// [/home/src/workspaces/solution/src/folder2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/src/folder2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -213,7 +211,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 739 + "size": 727 } //// [/home/src/workspaces/solution/tests/index.js] @@ -225,16 +223,16 @@ export declare const x = 10; //// [/home/src/workspaces/solution/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -263,7 +261,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 736 + "size": 724 } 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 769efd9077664..6867302012938 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,30 +79,28 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project2/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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] export const b = 10; @@ -112,16 +110,16 @@ export declare const b = 10; //// [/home/src/workspaces/solution/project2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/b.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -150,7 +148,7 @@ export declare const b = 10; }, "latestChangedDtsFile": "./src/b.d.ts", "version": "FakeTSVersion", - "size": 736 + "size": 724 } //// [/home/src/workspaces/solution/project3/src/c.js] @@ -162,16 +160,16 @@ export declare const c = 10; //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/c.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -200,7 +198,7 @@ export declare const c = 10; }, "latestChangedDtsFile": "./src/c.d.ts", "version": "FakeTSVersion", - "size": 736 + "size": 724 } //// [/home/src/workspaces/solution/project4/src/d.js] @@ -212,16 +210,16 @@ export declare const d = 10; //// [/home/src/workspaces/solution/project4/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -250,7 +248,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./src/d.d.ts", "version": "FakeTSVersion", - "size": 736 + "size": 724 } @@ -277,16 +275,16 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/project3/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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'... @@ -302,16 +300,16 @@ export declare const cc = 10; //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/c.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -340,7 +338,7 @@ export declare const cc = 10; }, "latestChangedDtsFile": "./src/c.d.ts", "version": "FakeTSVersion", - "size": 738 + "size": 726 } //// [/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 fa2fd3b76ba55..9c23ed8498cb9 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,20 +81,18 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/index.js] import ky from 'ky'; export const api = ky.extend({}); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/ky/distribution/index.d.ts", "./index.ts" ], @@ -104,7 +102,7 @@ export const api = ky.extend({}); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -166,7 +164,7 @@ export const api = ky.extend({}); ] ], "version": "FakeTSVersion", - "size": 1305 + "size": 1293 } @@ -190,8 +188,8 @@ Output:: 2 export const api = ky.extend({});    ~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 15dd62b19b376..9ba5e6c160d9d 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +82,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/index.js] import ky from 'ky'; export const api = ky.extend({}); @@ -125,8 +123,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 89e8d2aec1932..49296a73ed133 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -86,8 +86,6 @@ 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 }; @@ -102,17 +100,17 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky //// [/home/src/workspaces/project/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./ky.d.ts", "./src/index.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" }, @@ -131,7 +129,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -158,7 +156,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky ] ], "version": "FakeTSVersion", - "size": 1143 + "size": 1131 } @@ -198,8 +196,8 @@ Output:: 8 "outFile": "./outFile.js"    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 966d6515f3135..290f6395c907e 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -87,8 +87,6 @@ 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 }; @@ -154,8 +152,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 6dab0eda662ee..7579906af2145 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,8 +126,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/lib/src/common/nominal.js] /// export {}; @@ -166,12 +164,12 @@ export {}; //// [/home/src/workspaces/solution/lib/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/common/types.d.ts", "../src/common/nominal.ts", "../src/subproject/index.ts", @@ -189,7 +187,7 @@ export {}; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -264,7 +262,7 @@ export {}; }, "latestChangedDtsFile": "./src/subProject2/index.d.ts", "version": "FakeTSVersion", - "size": 1976 + "size": 1964 } 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 be299617aced6..7284b2e353694 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,8 +140,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/lib/src/common/nominal.js] /// export {}; @@ -153,12 +151,12 @@ export declare type Nominal = MyNominal; //// [/home/src/workspaces/solution/lib/src/common/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/lib/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../../../src/common/types.d.ts", "../../../src/common/nominal.ts" ], @@ -168,7 +166,7 @@ export declare type Nominal = MyNominal; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -213,7 +211,7 @@ export declare type Nominal = MyNominal; }, "latestChangedDtsFile": "./nominal.d.ts", "version": "FakeTSVersion", - "size": 1247 + "size": 1235 } //// [/home/src/workspaces/solution/lib/src/subProject/index.js] @@ -226,12 +224,12 @@ export type MyNominal = Nominal; //// [/home/src/workspaces/solution/lib/src/subProject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/lib/src/subProject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../../../src/common/types.d.ts", "../common/nominal.d.ts", "../../../src/subproject/index.ts" @@ -245,7 +243,7 @@ export type MyNominal = Nominal; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -297,7 +295,7 @@ export type MyNominal = Nominal; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1367 + "size": 1355 } //// [/home/src/workspaces/solution/lib/src/subProject2/index.js] @@ -319,12 +317,12 @@ export {}; //// [/home/src/workspaces/solution/lib/src/subProject2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/lib/src/subProject2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../../../src/common/types.d.ts", "../common/nominal.d.ts", "../subproject/index.d.ts", @@ -342,7 +340,7 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -401,7 +399,7 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1669 + "size": 1657 } 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 8e0c3f6325c65..a94f0c83f7ef8 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,8 +101,6 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/packages/pkg1/lib/src/index.js] export {}; @@ -117,16 +115,16 @@ export interface IThings { //// [/home/src/workspaces/project/packages/pkg1/lib/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/packages/pkg1/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/index.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -156,7 +154,7 @@ export interface IThings { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -166,7 +164,7 @@ export interface IThings { ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 939 + "size": 927 } //// [/home/src/workspaces/project/packages/pkg2/lib/src/index.js] @@ -181,12 +179,12 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; //// [/home/src/workspaces/project/packages/pkg2/lib/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/packages/pkg2/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../../pkg1/lib/src/index.d.ts", "../src/index.ts" ], @@ -196,7 +194,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -235,7 +233,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -249,7 +247,7 @@ export declare function fn4(): import("@fluentui/pkg1").IThing; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1141 + "size": 1129 } 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 4c2a7d1e1aa5d..3b65a17a8d399 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,8 +48,6 @@ 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] export function multiply(a, b) { return a * b; } @@ -62,16 +60,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.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"} +{"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"} //// [/home/src/workspaces/solution/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -103,7 +101,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 881 + "size": 869 } diff --git a/tests/baselines/reference/tsbuild/extends/configDir-template.js b/tests/baselines/reference/tsbuild/extends/configDir-template.js index 2af5aa52d2f75..53ce379da2a7a 100644 --- a/tests/baselines/reference/tsbuild/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuild/extends/configDir-template.js @@ -145,8 +145,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -160,8 +160,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/myproject/outDir/types/sometype.js] export const x = 10; 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 2d75505c1e385..dfa1c3ec6a0b4 100644 --- a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js @@ -46,8 +46,6 @@ 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] export const x = 10; @@ -57,16 +55,16 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -96,7 +94,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 790 + "size": 778 } 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 8986721ec3751..453b956d00032 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 @@ -47,8 +47,8 @@ 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -56,8 +56,6 @@ 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] export function child2() { } @@ -117,8 +115,8 @@ Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping 1 import { child2 } from "../child/child2";    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 c8c25ca7e7097..25c363f12a174 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/multiFile/detects-deleted-file.js @@ -69,8 +69,8 @@ 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -86,8 +86,8 @@ 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library child/child.d.ts Imported via "../child/child" from file 'main/main.ts' File is output of project reference source 'child/child.ts' @@ -95,8 +95,6 @@ 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] export function child2() { } @@ -118,12 +116,12 @@ export declare function child(): void; //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./child2.ts", "./child.ts" ], @@ -133,7 +131,7 @@ export declare function child(): void; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -179,7 +177,7 @@ export declare function child(): void; }, "latestChangedDtsFile": "./child.d.ts", "version": "FakeTSVersion", - "size": 1001 + "size": 989 } //// [/home/src/workspaces/solution/main/main.js] @@ -194,12 +192,12 @@ export declare function main(): void; //// [/home/src/workspaces/solution/main/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../child/child.d.ts", "./main.ts" ], @@ -209,7 +207,7 @@ export declare function main(): void; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -247,7 +245,7 @@ export declare function main(): void; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 917 } @@ -286,8 +284,8 @@ Directory '/home/src/workspaces/solution/child/child2' does not exist, skipping 1 import { child2 } from "../child/child2";    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -301,16 +299,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.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"} +{"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"} //// [/home/src/workspaces/solution/child/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./child.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -353,7 +351,7 @@ Found 1 error. ], "latestChangedDtsFile": "./child.d.ts", "version": "FakeTSVersion", - "size": 996 + "size": 984 } //// [/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 6458a8b3c230e..56735d4cea96a 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library child/child2.ts Imported via "../child/child2" from file 'child/child.ts' Matched by default include pattern '**/*' @@ -70,8 +70,6 @@ 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"; @@ -139,8 +137,8 @@ File '/home/src/workspaces/solution/child/child2.jsx' does not exist. 4 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 642b89b8fd7c7..00a414fcccaf7 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library childResult.d.ts Output from referenced project 'child/tsconfig.json' included because '--outFile' specified main/main.ts @@ -153,8 +153,6 @@ 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"; @@ -183,17 +181,17 @@ declare module "child" { //// [/home/src/workspaces/solution/childResult.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/childResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./child/child2.ts", "./child/child.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" }, @@ -214,7 +212,7 @@ declare module "child" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -229,7 +227,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": 1017 + "size": 1005 } //// [/home/src/workspaces/solution/mainResult.js] @@ -250,17 +248,17 @@ declare module "main" { //// [/home/src/workspaces/solution/mainResult.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/mainResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./childresult.d.ts", "./main/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" }, @@ -277,7 +275,7 @@ declare module "main" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -292,7 +290,7 @@ declare module "main" { "outSignature": "7955277823-declare module \"main\" {\n export function main(): void;\n}\n", "latestChangedDtsFile": "./mainResult.d.ts", "version": "FakeTSVersion", - "size": 1032 + "size": 1020 } @@ -331,8 +329,8 @@ File '/home/src/workspaces/solution/child/child2.jsx' does not exist. 5 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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. @@ -389,8 +387,8 @@ File '/child.jsx' does not exist. 5 "module": "amd"    ~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library childResult.d.ts Output from referenced project 'child/tsconfig.json' included because '--outFile' specified main/main.ts @@ -418,16 +416,16 @@ declare module "child" { //// [/home/src/workspaces/solution/childResult.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/childResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./child/child.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": [ @@ -443,7 +441,7 @@ declare module "child" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -454,22 +452,22 @@ declare module "child" { "outSignature": "8966811613-declare module \"child\" {\n export function child(): void;\n}\n", "latestChangedDtsFile": "./childResult.d.ts", "version": "FakeTSVersion", - "size": 879 + "size": 867 } //// [/home/src/workspaces/solution/mainResult.js] file written with same contents //// [/home/src/workspaces/solution/mainResult.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/mainResult.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./childresult.d.ts", "./main/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" }, @@ -486,7 +484,7 @@ declare module "child" { }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -501,7 +499,7 @@ declare module "child" { "outSignature": "7955277823-declare module \"main\" {\n export function main(): void;\n}\n", "latestChangedDtsFile": "./mainResult.d.ts", "version": "FakeTSVersion", - "size": 963 + "size": 951 } 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 a434eec566a60..37aa4ad69358d 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,11 +128,6 @@ 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'; @@ -144,12 +139,10 @@ Output::    ~~~~~~~~~ -Found 3 errors. +Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/lib/common/nominal.js] /** * @template T, Name @@ -165,22 +158,22 @@ export type Nominal = T & { //// [/home/src/workspaces/lib/common/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/lib/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../../solution/common/nominal.js" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../../solution/common/nominal.js": { @@ -207,23 +200,9 @@ 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": 1230 + "size": 1194 } //// [/home/src/workspaces/lib/sub-project/index.js] @@ -239,12 +218,12 @@ import { Nominal } from '../common/nominal'; //// [/home/src/workspaces/lib/sub-project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/lib/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../common/nominal.d.ts", "../../solution/sub-project/index.js" ], @@ -254,13 +233,13 @@ import { Nominal } from '../common/nominal'; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../common/nominal.d.ts": { @@ -312,7 +291,7 @@ import { Nominal } from '../common/nominal'; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1431 + "size": 1628 } //// [/home/src/workspaces/lib/sub-project-2/index.js] @@ -341,12 +320,12 @@ export {}; //// [/home/src/workspaces/lib/sub-project-2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/lib/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../common/nominal.d.ts", "../sub-project/index.d.ts", "../../solution/sub-project-2/index.js" @@ -360,13 +339,13 @@ export {}; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../common/nominal.d.ts": { @@ -425,8 +404,8 @@ export {}; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1816 + "size": 2013 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 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 28dadc2a331a6..9f1d0f8cefc1c 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 @@ -149,8 +149,6 @@ Found 3 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/common/index.js] export {}; @@ -161,12 +159,12 @@ export = x; //// [/home/src/workspaces/solution/common/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./obj.json", "./index.ts" ], @@ -176,13 +174,13 @@ export = x; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "./obj.json": { @@ -242,7 +240,7 @@ export = x; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1411 + "size": 1608 } //// [/home/src/workspaces/out/sub-project/index.js] @@ -255,12 +253,12 @@ export const m: any; //// [/home/src/workspaces/out/sub-project/tsconfig.tsbuildinfo] -{"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"} +{"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":"-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.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../../solution/common/obj.json", "../../solution/common/index.d.ts", "../../solution/sub-project/index.js" @@ -274,13 +272,13 @@ export const m: any; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../../solution/common/obj.json": { @@ -340,7 +338,7 @@ export const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1322 + "size": 1519 } //// [/home/src/workspaces/out/sub-project-2/index.js] @@ -360,12 +358,12 @@ export function getVar(): { //// [/home/src/workspaces/out/sub-project-2/tsconfig.tsbuildinfo] -{"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"} +{"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},"-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.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../sub-project/index.d.ts", "../../solution/sub-project-2/index.js" ], @@ -375,13 +373,13 @@ export function getVar(): { ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../sub-project/index.d.ts": { @@ -420,7 +418,7 @@ export function getVar(): { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1139 + "size": 1336 } 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 d6a47bc3f0337..f62c66a0bc67f 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,8 +58,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/hkt.js] export {}; @@ -71,12 +69,12 @@ export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/globals.d.ts", "./src/hkt.ts", "./src/main.ts" @@ -88,7 +86,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -138,7 +136,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1105 + "size": 1093 } @@ -179,12 +177,12 @@ export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/globals.d.ts", "./src/hkt.ts", "./src/main.ts" @@ -196,7 +194,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -250,7 +248,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } @@ -292,12 +290,12 @@ export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/globals.d.ts", "./src/hkt.ts", "./src/main.ts" @@ -309,7 +307,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -363,7 +361,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1302 + "size": 1290 } 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 bc38739ae2296..e0a5260469fac 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library node_modules/@types/pg/index.d.ts Imported via "pg" from file 'b/src/index.ts' Entry point for implicit type library 'pg' @@ -128,8 +128,6 @@ b/src/index.ts File is ECMAScript module because 'b/package.json' has field "type" with value "module" -//// [/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 b0ef41b7d83f3..8e3c8f6d45870 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,8 +191,6 @@ 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.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/producer/index.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -207,12 +205,12 @@ export interface ValueProducerFromTs { //// [/home/src/workspaces/project/producer/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../common.d.ts", "./in-js.d.ts", "./index.ts" @@ -227,7 +225,7 @@ export interface ValueProducerFromTs { ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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, @@ -293,7 +291,7 @@ export interface ValueProducerFromTs { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1395 + "size": 1383 } //// [/home/src/workspaces/project/consumer/index.js] 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 c1344290c9076..7bb3249d0f68a 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 @@ -129,8 +129,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/pkg2/build/const.js] export {}; @@ -148,12 +146,12 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../const.ts", "../index.ts" ], @@ -163,7 +161,7 @@ export type { TheNum } from 'const'; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -210,7 +208,7 @@ export type { TheNum } from 'const'; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -224,7 +222,7 @@ export type { TheNum } from 'const'; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 999 + "size": 987 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] 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 4b6ff26eb1221..f7865aac0d2f3 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 @@ -126,8 +126,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/pkg2/build/const.js] export {}; @@ -145,12 +143,12 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../const.ts", "../index.ts" ], @@ -160,7 +158,7 @@ export type { TheNum } from 'const'; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -207,7 +205,7 @@ export type { TheNum } from 'const'; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -221,7 +219,7 @@ export type { TheNum } from 'const'; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 999 + "size": 987 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] 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 15a97264577d4..086ea7aa96321 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +151,6 @@ 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.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/packages/a/types/index.d.ts] export const a: "a"; @@ -162,12 +160,12 @@ export {}; //// [/home/src/workspaces/project/packages/a/types/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../index.js", "../test/index.js" ], @@ -177,7 +175,7 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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, @@ -234,7 +232,7 @@ export {}; }, "latestChangedDtsFile": "./test/index.d.ts", "version": "FakeTSVersion", - "size": 1030 + "size": 1018 } //// [/home/src/workspaces/project/packages/b/tsconfig.tsbuildinfo] 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 3554c45b01f31..34d0e3dcfec49 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,8 +83,6 @@ 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] export const theNum = "type1"; @@ -94,17 +92,17 @@ export declare const theNum: TheNum; //// [/home/src/workspaces/project/packages/pkg1.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/packages/pkg1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./pkg1_index.ts", "./typeroot1/sometype/index.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -142,7 +140,7 @@ export declare const theNum: TheNum; }, "latestChangedDtsFile": "./pkg1_index.d.ts", "version": "FakeTSVersion", - "size": 893 + "size": 881 } //// [/home/src/workspaces/project/packages/pkg2_index.js] @@ -154,17 +152,17 @@ export declare const theNum: TheNum2; //// [/home/src/workspaces/project/packages/pkg2.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/packages/pkg2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./pkg2_index.ts", "./typeroot2/sometype/index.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -202,7 +200,7 @@ export declare const theNum: TheNum2; }, "latestChangedDtsFile": "./pkg2_index.d.ts", "version": "FakeTSVersion", - "size": 896 + "size": 884 } 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 7fc65cb805e2f..e7e1d178890be 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +119,6 @@ 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.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/packages/a/types/index.d.ts] export const a: "a"; @@ -130,12 +128,12 @@ export {}; //// [/home/src/workspaces/project/packages/a/types/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../index.js", "../test/index.js" ], @@ -145,7 +143,7 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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, @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./test/index.d.ts", "version": "FakeTSVersion", - "size": 1030 + "size": 1018 } @@ -251,8 +249,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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 6654e9e79a77e..304c4471df760 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,8 +130,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/packages/src-types/dogconfig.js] export {}; @@ -151,12 +149,12 @@ export * from './dogconfig.js'; //// [/home/src/workspaces/packages/src-types/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./dogconfig.ts", "./index.ts" ], @@ -166,7 +164,7 @@ export * from './dogconfig.js'; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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, @@ -220,7 +218,7 @@ export * from './dogconfig.js'; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1056 + "size": 1044 } //// [/home/src/workspaces/packages/src-dogs/dogconfig.js] @@ -285,12 +283,12 @@ export * from './lassie/lassiedog.js'; //// [/home/src/workspaces/packages/src-dogs/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src-types/dogconfig.d.ts", "../src-types/index.d.ts", "./dogconfig.ts", @@ -320,7 +318,7 @@ export * from './lassie/lassiedog.js'; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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, @@ -444,7 +442,7 @@ export * from './lassie/lassiedog.js'; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 2561 + "size": 2549 } 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 6304b127a63c1..f71850f79aab8 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,11 +142,6 @@ 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'... @@ -155,47 +150,40 @@ 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] export {}; //// [/home/src/workspaces/packages/lib/solution/common/nominal.d.ts] -export declare type Nominal = T & {}; +export declare type Nominal = T & { + [Symbol.species]: Name; +}; //// [/home/src/workspaces/packages/lib/solution/common/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/packages/lib/solution/common/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../../../solution/common/nominal.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "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": "-16533634136-export declare type Nominal = T & {};\n" + "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" } }, "root": [ @@ -210,23 +198,9 @@ 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": 1168 + "size": 1029 } //// [/home/src/workspaces/packages/lib/solution/sub-project/index.js] @@ -239,12 +213,12 @@ export type MyNominal = Nominal; //// [/home/src/workspaces/packages/lib/solution/sub-project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/packages/lib/solution/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../common/nominal.d.ts", "../../../solution/sub-project/index.ts" ], @@ -254,18 +228,18 @@ export type MyNominal = Nominal; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "version": "-16533634136-export declare type Nominal = T & {};\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" }, "../../../solution/sub-project/index.ts": { "original": { @@ -295,7 +269,7 @@ export type MyNominal = Nominal; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1131 + "size": 1359 } //// [/home/src/workspaces/packages/lib/solution/sub-project-2/index.js] @@ -317,12 +291,12 @@ export {}; //// [/home/src/workspaces/packages/lib/solution/sub-project-2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/packages/lib/solution/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../common/nominal.d.ts", "../sub-project/index.d.ts", "../../../solution/sub-project-2/index.ts" @@ -336,18 +310,18 @@ export {}; ] ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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", "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "version": "-16533634136-export declare type Nominal = T & {};\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" }, "../sub-project/index.d.ts": { "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", @@ -384,8 +358,8 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1441 + "size": 1669 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success 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 fe1a3c9bb549b..1bbce1cabcfa4 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 fc0837999f840..da81aec92ab39 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,8 +53,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = class { p = 10; @@ -70,17 +68,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -117,7 +115,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -154,7 +152,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -171,14 +169,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -223,17 +221,17 @@ export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -274,7 +272,7 @@ export const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -288,7 +286,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } //// [/home/src/workspaces/project/a.d.ts] @@ -309,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -352,17 +350,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -402,7 +400,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -418,12 +416,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -501,17 +499,17 @@ export const a = class { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -581,7 +579,7 @@ export const a = class { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1330 + "size": 1318 } @@ -598,7 +596,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -655,17 +653,17 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -728,7 +726,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1265 } @@ -744,7 +742,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -778,17 +776,17 @@ export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -835,7 +833,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 876 + "size": 864 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -853,7 +851,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -881,17 +879,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -931,7 +929,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -947,7 +945,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -985,18 +983,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1061,7 +1059,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } //// [/home/src/workspaces/project/c.js] @@ -1086,7 +1084,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1137,18 +1135,18 @@ export const a = class { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1241,7 +1239,7 @@ export const a = class { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1583 + "size": 1571 } @@ -1259,7 +1257,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1295,18 +1293,18 @@ export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1376,7 +1374,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1129 + "size": 1117 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1395,7 +1393,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1432,18 +1430,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1508,7 +1506,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } @@ -1525,7 +1523,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1590,7 +1588,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 34e54c66cbf84..bbf887ed5b32b 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/dts-errors.js @@ -54,8 +54,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = class { p = 10; @@ -98,14 +96,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -159,14 +157,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -227,14 +225,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -300,17 +298,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -418,14 +416,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -507,17 +505,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -575,14 +573,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -632,17 +630,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -714,19 +712,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -807,7 +805,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -815,7 +813,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -878,7 +876,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -886,7 +884,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -950,19 +948,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -1029,19 +1027,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 fe1a3c9bb549b..1bbce1cabcfa4 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 d7f4a79c00b81..29b804827f2b1 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,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = "hello"; @@ -59,17 +57,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -110,7 +108,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -124,7 +122,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 884 + "size": 872 } @@ -141,14 +139,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -194,17 +192,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -245,7 +243,7 @@ export declare const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -259,7 +257,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -276,7 +274,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -319,17 +317,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -369,7 +367,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -385,12 +383,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -454,17 +452,17 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -511,7 +509,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -528,7 +526,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -580,17 +578,17 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -644,7 +642,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 979 + "size": 967 } @@ -660,7 +658,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -695,17 +693,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -752,7 +750,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -769,7 +767,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -797,17 +795,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -847,7 +845,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -863,7 +861,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -901,18 +899,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -977,7 +975,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } //// [/home/src/workspaces/project/c.js] @@ -1002,7 +1000,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1039,18 +1037,18 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1120,7 +1118,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1133 + "size": 1121 } @@ -1138,7 +1136,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1175,18 +1173,18 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1256,7 +1254,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1129 + "size": 1117 } @@ -1274,7 +1272,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1311,18 +1309,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1387,7 +1385,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } @@ -1404,7 +1402,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1469,7 +1467,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5bf4415b83048..56396fe7086e9 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/semantic-errors.js @@ -39,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = "hello"; @@ -84,14 +82,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -153,14 +151,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -226,17 +224,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -326,14 +324,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -408,17 +406,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -476,14 +474,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -533,17 +531,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -615,19 +613,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -690,7 +688,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -698,7 +696,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -748,7 +746,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -756,7 +754,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -820,19 +818,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -899,19 +897,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 fe1a3c9bb549b..1bbce1cabcfa4 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 616f1ee3d03a3..521ec20fdf202 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,8 +48,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = "hello; @@ -67,17 +65,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -118,7 +116,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -132,7 +130,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 877 + "size": 865 } @@ -149,14 +147,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -202,17 +200,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -253,7 +251,7 @@ export const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -267,7 +265,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -327,17 +325,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -377,7 +375,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -393,12 +391,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -470,17 +468,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -527,7 +525,7 @@ export const a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 873 + "size": 861 } @@ -544,7 +542,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -596,17 +594,17 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -652,7 +650,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 853 + "size": 841 } @@ -668,7 +666,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -703,17 +701,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -760,7 +758,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -777,7 +775,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -805,17 +803,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -855,7 +853,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -871,7 +869,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -909,18 +907,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -985,7 +983,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } //// [/home/src/workspaces/project/c.js] @@ -1010,7 +1008,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1055,18 +1053,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1136,7 +1134,7 @@ export const a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1126 + "size": 1114 } @@ -1154,7 +1152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1191,18 +1189,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1272,7 +1270,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1129 + "size": 1117 } @@ -1290,7 +1288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1327,18 +1325,18 @@ Found 1 error. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1403,7 +1401,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } @@ -1420,7 +1418,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1485,7 +1483,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4fd6a508d23ec..dd887d26bb5c1 100644 --- a/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/multiFile/syntax-errors.js @@ -47,8 +47,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = "hello; @@ -93,14 +91,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -174,14 +172,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -247,17 +245,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -356,14 +354,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -438,14 +436,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -503,14 +501,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -560,17 +558,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -642,19 +640,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -726,7 +724,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -734,7 +732,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -797,7 +795,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -805,7 +803,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -869,19 +867,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -948,19 +946,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 208b6a67828a7..60546efaaf56e 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 cf7efd9ac9fb3..fa9cc249afd16 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,8 +65,6 @@ 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"; @@ -86,17 +84,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +115,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -154,7 +152,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1067 + "size": 1055 } @@ -173,7 +171,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -246,17 +244,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +275,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -291,7 +289,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } //// [/home/src/workspaces/outFile.d.ts] @@ -319,7 +317,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -374,17 +372,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +403,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -418,7 +416,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -436,7 +434,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -489,7 +487,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -575,17 +573,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -606,7 +604,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -643,7 +641,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1067 + "size": 1055 } @@ -662,7 +660,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -727,17 +725,17 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -758,7 +756,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -794,7 +792,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } @@ -812,7 +810,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -869,17 +867,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -900,7 +898,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -914,7 +912,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -934,7 +932,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -973,17 +971,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -1004,7 +1002,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1017,7 +1015,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -1035,7 +1033,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1098,18 +1096,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1134,7 +1132,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1151,7 +1149,7 @@ define("c", ["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } //// [/home/src/workspaces/outFile.d.ts] @@ -1182,7 +1180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1259,18 +1257,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1295,7 +1293,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1336,7 +1334,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1138 + "size": 1126 } @@ -1356,7 +1354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1420,18 +1418,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1456,7 +1454,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1474,7 +1472,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1495,7 +1493,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1535,18 +1533,18 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1571,7 +1569,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1588,7 +1586,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1607,7 +1605,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1678,7 +1676,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 149871f3ffed4..7753493041fe5 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/dts-errors.js @@ -66,8 +66,6 @@ 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"; @@ -116,7 +114,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -184,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -266,7 +264,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -350,7 +348,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -406,7 +404,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -524,7 +522,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -620,7 +618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -707,7 +705,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -775,7 +773,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -879,7 +877,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -990,7 +988,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1072,7 +1070,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1143,7 +1141,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1217,7 +1215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 208b6a67828a7..60546efaaf56e 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 72814f958a59a..daa04897d2af2 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,8 +55,6 @@ 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"; @@ -82,17 +80,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -113,7 +111,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -127,7 +125,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 754 + "size": 742 } @@ -146,7 +144,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -214,17 +212,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -245,7 +243,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -259,7 +257,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -278,7 +276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -333,17 +331,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -364,7 +362,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -377,7 +375,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -395,7 +393,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -448,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -516,17 +514,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -547,7 +545,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -561,7 +559,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 754 + "size": 742 } @@ -580,7 +578,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -635,17 +633,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -666,7 +664,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -679,7 +677,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 734 + "size": 722 } @@ -697,7 +695,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -749,17 +747,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -780,7 +778,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -794,7 +792,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -813,7 +811,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -852,17 +850,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -883,7 +881,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -896,7 +894,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -914,7 +912,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -989,18 +987,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1025,7 +1023,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1042,7 +1040,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1061,7 +1059,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1117,18 +1115,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1153,7 +1151,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1171,7 +1169,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 825 + "size": 813 } @@ -1191,7 +1189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1247,18 +1245,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1283,7 +1281,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1301,7 +1299,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1321,7 +1319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1361,18 +1359,18 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1397,7 +1395,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1414,7 +1412,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1433,7 +1431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1504,7 +1502,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8852e4b161b95..e8cd1e21ad7f9 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/semantic-errors.js @@ -54,8 +54,6 @@ 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"; @@ -110,7 +108,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -194,7 +192,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -278,7 +276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -334,7 +332,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -431,7 +429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -515,7 +513,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -596,7 +594,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -664,7 +662,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -768,7 +766,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -855,7 +853,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -928,7 +926,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -999,7 +997,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1073,7 +1071,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 208b6a67828a7..60546efaaf56e 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 881b0a0b1eb10..1af603fb1f81d 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,8 +50,6 @@ 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"; @@ -77,17 +75,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -108,7 +106,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -122,7 +120,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 743 + "size": 731 } @@ -141,7 +139,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -215,17 +213,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -246,7 +244,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -260,7 +258,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -279,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -334,17 +332,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -365,7 +363,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -378,7 +376,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -396,7 +394,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -449,7 +447,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -518,17 +516,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -549,7 +547,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -563,7 +561,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 743 + "size": 731 } @@ -582,7 +580,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -632,17 +630,17 @@ Found 1 error. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -663,7 +661,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -676,7 +674,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } @@ -694,7 +692,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -752,17 +750,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -783,7 +781,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -797,7 +795,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -816,7 +814,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -855,17 +853,17 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -886,7 +884,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -899,7 +897,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -917,7 +915,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -992,18 +990,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1028,7 +1026,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1045,7 +1043,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1064,7 +1062,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1124,18 +1122,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1160,7 +1158,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1178,7 +1176,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 814 + "size": 802 } @@ -1198,7 +1196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1263,18 +1261,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1299,7 +1297,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1317,7 +1315,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1337,7 +1335,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1377,18 +1375,18 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1413,7 +1411,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1430,7 +1428,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1449,7 +1447,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1520,7 +1518,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8e7bd19fd3de5..95a100db4e85d 100644 --- a/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noCheck/outFile/syntax-errors.js @@ -49,8 +49,6 @@ 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"; @@ -105,7 +103,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -195,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -279,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -335,7 +333,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -433,7 +431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -512,7 +510,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -599,7 +597,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -667,7 +665,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -771,7 +769,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -862,7 +860,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -944,7 +942,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1015,7 +1013,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1089,7 +1087,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 524047e719cf9..a4dad40e8c9c5 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 ac1a78e10eaea..5731abaf12be9 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-composite.js @@ -60,8 +60,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/class.js] export class classC { prop = 1; @@ -125,12 +123,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -147,7 +145,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -239,7 +237,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 1902 + "size": 1890 } @@ -321,12 +319,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -343,7 +341,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -509,7 +507,7 @@ Found 2 errors. ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2589 + "size": 2577 } @@ -538,12 +536,12 @@ Output:: //// [/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.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"} +{"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]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -560,7 +558,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -652,7 +650,7 @@ Output:: }, "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 1902 + "size": 1890 } @@ -779,12 +777,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.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"} +{"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}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -801,7 +799,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -939,7 +937,7 @@ export declare class classC { ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2469 + "size": 2457 } @@ -1130,12 +1128,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1152,7 +1150,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1280,7 +1278,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1984 + "size": 1972 } @@ -1315,12 +1313,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.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"} +{"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]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1337,7 +1335,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1429,7 +1427,7 @@ export declare class classC { }, "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1874 + "size": 1862 } 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 4441a66a864f0..184b03afe38e9 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental-declaration.js @@ -61,8 +61,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/class.js] export class classC { prop = 1; @@ -126,12 +124,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -148,7 +146,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -239,7 +237,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } @@ -321,12 +319,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -343,7 +341,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -494,7 +492,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 2368 + "size": 2356 } @@ -527,12 +525,12 @@ Output:: //// [/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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -549,7 +547,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -640,7 +638,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } @@ -770,12 +768,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.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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -792,7 +790,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -929,7 +927,7 @@ export declare class classC { ] ], "version": "FakeTSVersion", - "size": 2429 + "size": 2417 } @@ -1120,12 +1118,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1142,7 +1140,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1255,7 +1253,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1789 + "size": 1777 } @@ -1293,12 +1291,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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1315,7 +1313,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1406,7 +1404,7 @@ export declare class classC { ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } diff --git a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js index 306cd00a38e79..484e84929ddd5 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/changes-incremental.js @@ -60,8 +60,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/class.js] export class classC { prop = 1; @@ -96,12 +94,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -118,7 +116,7 @@ function someFunc(arguments, ...rest) { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -185,7 +183,7 @@ function someFunc(arguments, ...rest) { ] }, "version": "FakeTSVersion", - "size": 1287 + "size": 1275 } @@ -267,12 +265,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"affectedFilesPendingEmit":[2,4,3,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -289,7 +287,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -436,7 +434,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 2248 + "size": 2236 } @@ -467,12 +465,12 @@ Output:: //// [/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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -489,7 +487,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -564,7 +562,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } @@ -685,12 +683,12 @@ export 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.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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -707,7 +705,7 @@ export class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -828,7 +826,7 @@ export class classC { ] ], "version": "FakeTSVersion", - "size": 2109 + "size": 2097 } @@ -1019,12 +1017,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1041,7 +1039,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1126,7 +1124,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1547 + "size": 1535 } @@ -1155,12 +1153,12 @@ export 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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1177,7 +1175,7 @@ export class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1252,7 +1250,7 @@ export class classC { ] }, "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } 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 18a16077ca78b..8da8062be3001 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 dc11f2383acfd..081111aaae566 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,15 +60,13 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -85,7 +83,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -207,7 +205,7 @@ Output:: "./src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1418 + "size": 1406 } @@ -229,12 +227,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -251,7 +249,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -343,7 +341,7 @@ Output:: }, "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 1902 + "size": 1890 } //// [/home/src/workspaces/project/src/class.js] @@ -455,12 +453,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -477,7 +475,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -615,7 +613,7 @@ Found 2 errors. ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2469 + "size": 2457 } //// [/home/src/workspaces/project/src/class.js] @@ -655,12 +653,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -677,7 +675,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -805,7 +803,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1984 + "size": 1972 } @@ -827,12 +825,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -849,7 +847,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -941,7 +939,7 @@ Output:: }, "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1874 + "size": 1862 } //// [/home/src/workspaces/project/src/class.js] 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 666fb2f38cc06..c24c3e8a82b97 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,15 +61,13 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -86,7 +84,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -200,7 +198,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1389 + "size": 1377 } @@ -222,12 +220,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -244,7 +242,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -335,7 +333,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } //// [/home/src/workspaces/project/src/class.js] @@ -447,12 +445,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -469,7 +467,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -606,7 +604,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 2429 + "size": 2417 } //// [/home/src/workspaces/project/src/class.js] @@ -649,12 +647,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -671,7 +669,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -784,7 +782,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1789 + "size": 1777 } @@ -806,12 +804,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -828,7 +826,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -919,7 +917,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } //// [/home/src/workspaces/project/src/class.js] 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 154801b21e9de..1184c5391add1 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,15 +60,13 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -85,7 +83,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -178,7 +176,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1328 + "size": 1316 } @@ -200,12 +198,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -222,7 +220,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -289,7 +287,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1287 + "size": 1275 } //// [/home/src/workspaces/project/src/class.js] @@ -372,12 +370,12 @@ Found 2 errors. //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -394,7 +392,7 @@ Found 2 errors. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -523,7 +521,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 2211 + "size": 2199 } //// [/home/src/workspaces/project/src/class.js] @@ -559,12 +557,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -581,7 +579,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -666,7 +664,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1547 + "size": 1535 } @@ -688,12 +686,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -710,7 +708,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -785,7 +783,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } //// [/home/src/workspaces/project/src/class.js] 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 207a5ee5a0384..2a0f6ac067b90 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 a7d9fd8f55577..af06e85965a54 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,20 +39,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -91,7 +89,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 683 } @@ -107,17 +105,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -168,17 +166,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -249,7 +247,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1042 + "size": 1030 } @@ -266,7 +264,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -292,17 +290,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -351,7 +349,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 758 + "size": 746 } @@ -369,7 +367,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -424,17 +422,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -493,7 +491,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1068 + "size": 1056 } //// [/home/src/projects/project/a.js] @@ -523,7 +521,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -552,17 +550,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -605,7 +603,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 873 + "size": 861 } @@ -621,7 +619,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -649,17 +647,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -715,7 +713,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 916 + "size": 904 } @@ -732,7 +730,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 086d7026b45e8..af8b7743a68b2 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 6f914f954c66c..e1a1003134f03 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,19 +36,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -80,7 +78,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 676 + "size": 664 } @@ -95,15 +93,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -153,16 +151,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -223,7 +221,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -239,7 +237,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -264,16 +262,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -312,7 +310,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 734 + "size": 722 } @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -383,16 +381,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -444,7 +442,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 980 + "size": 968 } //// [/home/src/projects/project/a.js] @@ -465,7 +463,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -493,16 +491,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -535,7 +533,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 769 + "size": 757 } @@ -550,11 +548,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -578,16 +576,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -626,7 +624,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 805 + "size": 793 } @@ -642,7 +640,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 721e914867c8b..451ea9edfd509 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 4977b0d186de5..06f75e0d03d2c 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,22 +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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -119,7 +117,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 835 + "size": 823 } @@ -137,21 +135,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -224,19 +222,19 @@ Found 3 errors. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -375,7 +373,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1738 } @@ -394,7 +392,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -422,19 +420,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -509,7 +507,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 908 + "size": 896 } @@ -529,7 +527,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -606,19 +604,19 @@ Found 3 errors. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -731,7 +729,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1762 + "size": 1750 } //// [/home/src/projects/project/a.js] @@ -775,7 +773,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -806,19 +804,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -917,7 +915,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1594 + "size": 1582 } @@ -935,7 +933,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -988,19 +986,19 @@ Found 2 errors. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1126,7 +1124,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 1651 + "size": 1639 } @@ -1145,7 +1143,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1173,19 +1171,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1268,7 +1266,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1088 + "size": 1076 } @@ -1288,7 +1286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1319,19 +1317,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1418,7 +1416,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1200 + "size": 1188 } @@ -1438,7 +1436,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bdcd50f8e5db7..d9a39f36bce60 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,8 +34,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"version":"FakeTSVersion"} @@ -59,15 +57,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -100,15 +98,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -166,15 +164,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -222,15 +220,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -273,15 +271,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -346,15 +344,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -400,15 +398,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -442,15 +440,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -485,15 +483,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 2af487fae9b5d..11667db7967e2 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,20 +53,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -137,7 +135,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1042 + "size": 1030 } @@ -154,17 +152,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -241,17 +239,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -303,7 +301,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -320,7 +318,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -364,17 +362,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -414,7 +412,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } //// [/home/src/projects/project/a.js] @@ -446,7 +444,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -504,17 +502,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -586,7 +584,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1313 + "size": 1301 } @@ -603,7 +601,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -644,17 +642,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -717,7 +715,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1265 } //// [/home/src/projects/project/a.js] @@ -739,7 +737,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -791,7 +789,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 430ef3cf074a3..3032c72ebe20c 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,19 +50,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -123,7 +121,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -139,15 +137,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -193,7 +191,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -221,16 +219,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -269,7 +267,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 753 + "size": 741 } @@ -285,11 +283,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -329,16 +327,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -368,7 +366,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 717 + "size": 705 } //// [/home/src/projects/project/a.js] @@ -391,7 +389,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -448,16 +446,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -519,7 +517,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1204 + "size": 1192 } @@ -535,11 +533,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -576,16 +574,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -638,7 +636,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1168 + "size": 1156 } //// [/home/src/projects/project/a.js] @@ -659,7 +657,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -709,7 +707,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 151e8c1a5cc99..2b8bce64f2a47 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,20 +39,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -91,7 +89,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 683 } @@ -107,17 +105,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -158,17 +156,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -211,7 +209,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -271,17 +269,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -314,7 +312,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -337,7 +335,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -382,17 +380,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -431,7 +429,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 902 + "size": 890 } @@ -447,7 +445,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -475,17 +473,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -518,7 +516,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 871 + "size": 859 } //// [/home/src/projects/project/a.js] @@ -539,7 +537,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 142b6e9294f64..1738bc1fba583 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,19 +36,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -80,7 +78,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 676 + "size": 664 } @@ -95,15 +93,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -143,16 +141,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -185,7 +183,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -200,11 +198,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -244,16 +242,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -280,7 +278,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -298,7 +296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -342,16 +340,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -384,7 +382,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 864 + "size": 852 } @@ -399,11 +397,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -427,16 +425,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -463,7 +461,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 833 + "size": 821 } //// [/home/src/projects/project/a.js] @@ -483,7 +481,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 546a07cadf9b6..1085101294766 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,8 +34,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"version":"FakeTSVersion"} @@ -59,15 +57,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -100,15 +98,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -144,15 +142,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -185,15 +183,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -229,15 +227,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -289,15 +287,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -335,15 +333,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 3ac7ae46d4a09..5eb6e5d11d8a0 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/dts-errors.js @@ -49,8 +49,6 @@ 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"} @@ -76,15 +74,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -131,15 +129,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -186,15 +184,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -228,15 +226,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -277,15 +275,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts during emit) exitCode:: ExitStatus.Success @@ -362,15 +360,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -425,15 +423,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -480,15 +478,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 c34d7cda419fc..029029ccf6e84 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,20 +47,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -113,7 +111,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } @@ -129,17 +127,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -181,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -210,17 +208,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -263,7 +261,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -279,7 +277,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -323,17 +321,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -366,7 +364,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -389,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -442,17 +440,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -505,7 +503,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 909 + "size": 897 } @@ -521,7 +519,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -557,17 +555,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -614,7 +612,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 878 + "size": 866 } //// [/home/src/projects/project/a.js] file written with same contents @@ -630,7 +628,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -676,7 +674,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7a31788d932a8..4321c1fee12ca 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,19 +44,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -102,7 +100,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 818 + "size": 806 } @@ -117,15 +115,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -165,7 +163,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -193,16 +191,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -235,7 +233,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -250,11 +248,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -294,16 +292,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -330,7 +328,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -348,7 +346,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -400,16 +398,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -456,7 +454,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 870 + "size": 858 } @@ -471,11 +469,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -507,16 +505,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -557,7 +555,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } //// [/home/src/projects/project/a.js] file written with same contents @@ -572,7 +570,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -616,7 +614,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d3667a94398ae..88f4d40faecdd 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/semantic-errors.js @@ -42,8 +42,6 @@ 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"} @@ -68,15 +66,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -117,15 +115,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -171,15 +169,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -212,15 +210,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -256,15 +254,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -335,15 +333,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -384,15 +382,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -433,15 +431,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 3adde767265bc..4fb865180618f 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,20 +47,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -97,10 +95,10 @@ Found 1 error. "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -116,7 +114,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -191,17 +189,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -248,7 +246,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 825 + "size": 813 } @@ -264,19 +262,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.Success @@ -312,17 +310,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -359,7 +357,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 792 + "size": 780 } //// [/home/src/projects/project/a.js] @@ -382,7 +380,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -435,17 +433,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -485,7 +483,7 @@ Found 1 error. "./a.ts" ], "version": "FakeTSVersion", - "size": 809 + "size": 797 } @@ -501,7 +499,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -536,17 +534,17 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -589,7 +587,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 822 + "size": 810 } //// [/home/src/projects/project/a.js] @@ -608,7 +606,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -656,7 +654,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fc8c197dbf0bd..792ae39912c7b 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,19 +44,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -83,10 +81,10 @@ Found 1 error. ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 684 + "size": 672 } @@ -101,7 +99,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -145,7 +143,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -173,16 +171,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -215,7 +213,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -230,16 +228,16 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.Success @@ -275,16 +273,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -311,7 +309,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -381,16 +379,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -420,7 +418,7 @@ Found 1 error. "./a.ts" ], "version": "FakeTSVersion", - "size": 703 + "size": 691 } @@ -435,7 +433,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -469,16 +467,16 @@ Found 1 error. //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -511,7 +509,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 716 + "size": 704 } //// [/home/src/projects/project/a.js] @@ -529,7 +527,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -575,7 +573,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5a6bfda96a982..13c714d45326c 100644 --- a/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/multiFile/syntax-errors.js @@ -42,8 +42,6 @@ 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"} @@ -68,7 +66,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -113,7 +111,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -163,15 +161,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -204,15 +202,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -248,15 +246,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -327,7 +325,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -375,13 +373,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -422,7 +420,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0feed821b5afd..466dd8bb27224 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 fb4977f3895b8..28b092abf46bf 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-composite.js @@ -75,8 +75,6 @@ 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"; @@ -138,12 +136,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -152,7 +150,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -183,7 +181,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -214,7 +212,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": 1857 + "size": 1845 } @@ -316,12 +314,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -330,7 +328,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -365,7 +363,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": 1834 + "size": 1822 } @@ -406,12 +404,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.js] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -420,7 +418,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -451,7 +449,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -482,7 +480,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": 1857 + "size": 1845 } @@ -706,12 +704,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -720,7 +718,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -751,7 +749,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -782,7 +780,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": 1861 + "size": 1849 } @@ -946,12 +944,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -960,7 +958,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -995,7 +993,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": 1834 + "size": 1822 } @@ -1090,12 +1088,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1104,7 +1102,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +1133,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1166,7 +1164,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": 1857 + "size": 1845 } 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 e25e5de589414..1b840de57601e 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental-declaration.js @@ -82,8 +82,6 @@ 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"; @@ -145,12 +143,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -159,7 +157,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -190,7 +188,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -219,7 +217,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } @@ -321,12 +319,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -335,7 +333,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -368,7 +366,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1285 + "size": 1273 } @@ -416,12 +414,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -430,7 +428,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -461,7 +459,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -490,7 +488,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } @@ -732,12 +730,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -746,7 +744,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -777,7 +775,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -806,7 +804,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1310 + "size": 1298 } @@ -982,12 +980,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -996,7 +994,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -1029,7 +1027,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1283 + "size": 1271 } @@ -1130,12 +1128,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1144,7 +1142,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -1175,7 +1173,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1204,7 +1202,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } diff --git a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js index 2069357d9f871..024b0c643fa74 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/changes-incremental.js @@ -81,8 +81,6 @@ 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"; @@ -124,12 +122,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -138,7 +136,7 @@ function someFunc(arguments, ...rest) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -168,7 +166,7 @@ function someFunc(arguments, ...rest) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -197,7 +195,7 @@ function someFunc(arguments, ...rest) { ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } @@ -299,12 +297,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -313,7 +311,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +343,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1266 + "size": 1254 } @@ -392,12 +390,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.js] file written with same contents //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -406,7 +404,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -436,7 +434,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -465,7 +463,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } @@ -687,12 +685,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -701,7 +699,7 @@ function someFunc(arguments, ...rest) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -731,7 +729,7 @@ function someFunc(arguments, ...rest) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -760,7 +758,7 @@ function someFunc(arguments, ...rest) { ] ], "version": "FakeTSVersion", - "size": 1291 + "size": 1279 } @@ -936,12 +934,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -950,7 +948,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -982,7 +980,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1264 + "size": 1252 } @@ -1063,12 +1061,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1077,7 +1075,7 @@ function someFunc(arguments, ...rest) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -1107,7 +1105,7 @@ function someFunc(arguments, ...rest) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1136,7 +1134,7 @@ function someFunc(arguments, ...rest) { ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } 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 8681363881813..8c0eaf1af771e 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 f182a4de7fd4e..8caa3533fe8b5 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,15 +75,13 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -92,7 +90,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -122,7 +120,7 @@ Found 2 errors. "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -131,7 +129,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1293 + "size": 1281 } @@ -166,12 +164,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -180,7 +178,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -211,7 +209,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -242,7 +240,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": 1857 + "size": 1845 } //// [/home/src/workspaces/outFile.js] @@ -342,12 +340,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -356,7 +354,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -387,7 +385,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -418,7 +416,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": 1861 + "size": 1849 } //// [/home/src/workspaces/outFile.js] @@ -518,12 +516,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -532,7 +530,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -567,7 +565,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": 1834 + "size": 1822 } @@ -602,12 +600,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -616,7 +614,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -647,7 +645,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -678,7 +676,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": 1857 + "size": 1845 } //// [/home/src/workspaces/outFile.js] 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 d3cf99fe09c71..0be99dd391d95 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,15 +76,13 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -93,7 +91,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -123,7 +121,7 @@ Found 2 errors. "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -132,7 +130,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1295 + "size": 1283 } @@ -173,12 +171,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -187,7 +185,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -218,7 +216,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -247,7 +245,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } //// [/home/src/workspaces/outFile.js] @@ -353,12 +351,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -367,7 +365,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -398,7 +396,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -427,7 +425,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1310 + "size": 1298 } //// [/home/src/workspaces/outFile.js] @@ -527,12 +525,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -541,7 +539,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -574,7 +572,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1283 + "size": 1271 } @@ -615,12 +613,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -629,7 +627,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -660,7 +658,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -689,7 +687,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } //// [/home/src/workspaces/outFile.js] 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 864f6cf327cdc..c252b29c604a2 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,15 +75,13 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -92,7 +90,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +119,7 @@ Found 2 errors. "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -130,7 +128,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1276 + "size": 1264 } @@ -171,12 +169,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -185,7 +183,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -215,7 +213,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -244,7 +242,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } //// [/home/src/workspaces/outFile.js] @@ -330,12 +328,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -344,7 +342,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +372,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -403,7 +401,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1291 + "size": 1279 } //// [/home/src/workspaces/outFile.js] @@ -483,12 +481,12 @@ Found 2 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -497,7 +495,7 @@ Found 2 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -529,7 +527,7 @@ Found 2 errors. "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1264 + "size": 1252 } @@ -570,12 +568,12 @@ Found 3 errors. //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -584,7 +582,7 @@ Found 3 errors. "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -614,7 +612,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -643,7 +641,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } //// [/home/src/workspaces/outFile.js] 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 51338d32b5de4..7a7a540bcded3 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 b1bbbe1c0ac58..d5e56ee784e5f 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,20 +54,18 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +86,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 709 + "size": 697 } @@ -109,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -201,17 +199,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -233,10 +231,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } @@ -255,7 +253,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -294,17 +292,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -327,10 +325,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 750 + "size": 738 } @@ -350,7 +348,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -403,7 +401,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -452,17 +450,17 @@ Found 3 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -483,7 +481,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -519,7 +517,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } //// [/home/src/projects/outFile.js] @@ -555,7 +553,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -597,17 +595,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +627,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 704 + "size": 692 } @@ -647,7 +645,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -686,17 +684,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +717,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } @@ -738,7 +736,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -777,17 +775,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +809,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 745 + "size": 733 } @@ -831,7 +829,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7e45ef9074d31..081a74d7b0a56 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 8473ee3913ace..da556d9830164 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,19 +45,17 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +69,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 633 + "size": 621 } @@ -90,7 +88,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -135,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -168,16 +166,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -192,10 +190,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -245,16 +243,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -270,10 +268,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 674 + "size": 662 } @@ -291,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -336,7 +334,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -379,16 +377,16 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -403,7 +401,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -435,7 +433,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -457,7 +455,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -493,16 +491,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -518,7 +516,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } @@ -534,7 +532,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -567,16 +565,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -593,7 +591,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 649 + "size": 637 } @@ -610,7 +608,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -643,16 +641,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -670,7 +668,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 671 + "size": 659 } @@ -688,7 +686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 af5b631eff751..f6e3860b1a803 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 6f80663bc55d0..f1694c5cffd23 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,22 +60,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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -104,10 +102,10 @@ Found 2 errors. "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 865 + "size": 853 } @@ -127,7 +125,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -184,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -225,19 +223,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -267,10 +265,10 @@ Found 2 errors. "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 884 + "size": 872 } @@ -291,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -332,19 +330,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -375,10 +373,10 @@ Found 2 errors. "./project/b.ts", "./project/c.ts", "./project/d.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 906 + "size": 894 } @@ -400,7 +398,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -457,7 +455,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -528,19 +526,19 @@ Found 5 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -567,7 +565,7 @@ Found 5 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -653,7 +651,7 @@ Found 5 errors. ] ], "version": "FakeTSVersion", - "size": 1761 + "size": 1749 } //// [/home/src/projects/outFile.js] @@ -709,7 +707,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -753,19 +751,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -793,7 +791,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 856 + "size": 844 } @@ -813,7 +811,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -854,19 +852,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -895,7 +893,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 875 + "size": 863 } @@ -916,7 +914,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -957,19 +955,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -999,7 +997,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 897 + "size": 885 } @@ -1021,7 +1019,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1065,19 +1063,19 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -1108,7 +1106,7 @@ Found 2 errors. "./project/c.ts" ], "version": "FakeTSVersion", - "size": 898 + "size": 886 } @@ -1130,7 +1128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 34e62109f83f0..5b0b192765700 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,8 +44,6 @@ 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 +69,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -117,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -164,7 +162,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -322,7 +320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -371,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -418,7 +416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -466,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a952d630a7adf..c31c43cffeb6f 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -65,16 +65,16 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } \ 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 153a3d869b3d5..757b9daa66041 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,20 +55,18 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -90,10 +88,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } @@ -112,7 +110,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -208,17 +206,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -240,10 +238,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 713 + "size": 701 } @@ -262,7 +260,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -316,7 +314,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -355,17 +353,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -386,7 +384,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -399,7 +397,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } //// [/home/src/projects/outFile.js] @@ -441,7 +439,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -495,7 +493,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -537,17 +535,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -570,7 +568,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 724 + "size": 712 } @@ -589,7 +587,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -638,17 +636,17 @@ Found 3 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -669,7 +667,7 @@ Found 3 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -705,7 +703,7 @@ Found 3 errors. ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } //// [/home/src/projects/outFile.js] @@ -741,7 +739,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -795,7 +793,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e5979f680ae6b..66153cdb54a8b 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -54,15 +54,15 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } \ 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 e50172a7ea941..f1ebd2202dd46 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,19 +46,17 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -73,10 +71,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } @@ -93,7 +91,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -139,7 +137,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -175,16 +173,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -199,10 +197,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 636 + "size": 624 } @@ -219,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -265,7 +263,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -298,16 +296,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -322,7 +320,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -331,7 +329,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 649 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -355,7 +353,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -401,7 +399,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -437,16 +435,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -463,7 +461,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 650 + "size": 638 } @@ -480,7 +478,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -523,16 +521,16 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -547,7 +545,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -579,7 +577,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -601,7 +599,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -647,7 +645,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bf45ce517bd33..d9778676c9e39 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,20 +54,18 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +86,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 709 + "size": 697 } @@ -109,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -204,17 +202,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -235,10 +233,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -256,7 +254,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -309,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -348,17 +346,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -378,7 +376,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -391,7 +389,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -423,7 +421,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -476,7 +474,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -518,17 +516,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -550,7 +548,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 705 + "size": 693 } @@ -568,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -607,17 +605,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -637,7 +635,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -650,7 +648,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 722 + "size": 710 } //// [/home/src/projects/outFile.js] @@ -685,7 +683,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -738,7 +736,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f8d08acab8228..7ea53a273c7b2 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,19 +45,17 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +69,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 633 + "size": 621 } @@ -90,7 +88,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -135,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -171,16 +169,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -194,10 +192,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -291,16 +289,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -314,7 +312,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -323,7 +321,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -342,7 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -387,7 +385,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -423,16 +421,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -448,7 +446,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 631 + "size": 619 } @@ -464,7 +462,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -497,16 +495,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -520,7 +518,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -529,7 +527,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 646 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -550,7 +548,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -595,7 +593,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fdc923230568b..d962cb9d8cb40 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,8 +44,6 @@ 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 +69,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -117,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -356,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -407,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -453,7 +451,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 866261e15aeed..2df3625b0d7d1 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/dts-errors.js @@ -45,8 +45,6 @@ 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"} @@ -73,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -271,7 +269,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -318,7 +316,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -368,7 +366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -433,7 +431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -480,7 +478,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dbb6307fd5363..2af3574f27a74 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,20 +54,18 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -88,10 +86,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 689 } @@ -109,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -204,17 +202,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -235,10 +233,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -256,7 +254,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -309,7 +307,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -348,17 +346,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -378,7 +376,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -391,7 +389,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -423,7 +421,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -476,7 +474,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -518,17 +516,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -550,7 +548,7 @@ Found 2 errors. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 685 } @@ -568,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -607,17 +605,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -637,7 +635,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -650,7 +648,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 714 + "size": 702 } //// [/home/src/projects/outFile.js] file written with same contents @@ -668,7 +666,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -721,7 +719,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 092fe78f28cb0..91e3e6299c2da 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,19 +45,17 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -71,10 +69,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 612 } @@ -90,7 +88,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -135,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -171,16 +169,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -194,10 +192,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -291,16 +289,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -314,7 +312,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -323,7 +321,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -342,7 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -387,7 +385,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -423,16 +421,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -448,7 +446,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 622 + "size": 610 } @@ -464,7 +462,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -497,16 +495,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -520,7 +518,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -529,7 +527,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 637 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -545,7 +543,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -590,7 +588,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a72de25ef26a0..51acac11ee96b 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/semantic-errors.js @@ -44,8 +44,6 @@ 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 +69,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -117,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -356,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -402,7 +400,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -448,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cdcd554500600..02a5d82842ea7 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,20 +49,18 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -83,10 +81,10 @@ Found 1 error. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 679 } @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -152,7 +150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -194,17 +192,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -225,10 +223,10 @@ Found 2 errors. "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -246,7 +244,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -299,7 +297,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -338,17 +336,17 @@ Found 2 errors. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -368,7 +366,7 @@ Found 2 errors. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -381,7 +379,7 @@ Found 2 errors. ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -413,7 +411,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -466,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -503,17 +501,17 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -535,7 +533,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 687 + "size": 675 } @@ -553,7 +551,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -587,17 +585,17 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -617,7 +615,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -630,7 +628,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 704 + "size": 692 } //// [/home/src/projects/outFile.js] @@ -662,7 +660,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -710,7 +708,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f02a92193899f..1dc64e6bf0e9a 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,19 +45,17 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -71,10 +69,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 614 + "size": 602 } @@ -90,7 +88,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -135,7 +133,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -171,16 +169,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -194,10 +192,10 @@ Found 1 error. }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -291,16 +289,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -314,7 +312,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -323,7 +321,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -342,7 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -387,7 +385,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -423,16 +421,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -448,7 +446,7 @@ Found 1 error. "./project/a.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 600 } @@ -464,7 +462,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -497,16 +495,16 @@ Found 1 error. //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -520,7 +518,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -529,7 +527,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 627 + "size": 615 } //// [/home/src/projects/outFile.js] @@ -548,7 +546,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -593,7 +591,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f47508a19867b..94f4f843c3d71 100644 --- a/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmit/outFile/syntax-errors.js @@ -44,8 +44,6 @@ 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 +69,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -117,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -356,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -405,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -451,7 +449,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 eaee5a1836e3c..e7612c485b9e8 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,15 +65,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -84,7 +82,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -176,7 +174,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1304 + "size": 1292 } @@ -195,19 +193,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -290,12 +288,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -306,7 +304,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -360,7 +358,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1103 + "size": 1091 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -412,7 +410,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b95d4272a89f5..bc7a59ae567fd 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,8 +64,6 @@ 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"} @@ -96,19 +94,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -160,19 +158,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -261,19 +259,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 d32b9c5a9355a..f5fa49cab5fcb 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,8 +51,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] export {}; @@ -69,12 +67,12 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -85,7 +83,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -130,7 +128,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 929 + "size": 917 } @@ -148,19 +146,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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,12 +203,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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -221,7 +219,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -270,7 +268,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1033 + "size": 1021 } @@ -288,7 +286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 21a98deb625c9..8c774b83a94d7 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/dts-errors.js @@ -50,8 +50,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] export {}; @@ -95,19 +93,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -169,19 +167,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 264761c9059ba..8cbd00324542c 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,15 +59,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -78,7 +76,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -152,7 +150,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1113 + "size": 1101 } @@ -171,19 +169,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -229,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +258,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -276,7 +274,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -330,7 +328,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1034 + "size": 1022 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -377,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e6f368f57ce38..ccfd52597e326 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,8 +58,6 @@ 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"} @@ -90,19 +88,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -149,19 +147,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -244,19 +242,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 941673844f667..0aa5fce8a1879 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,15 +58,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -77,7 +75,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -150,7 +148,7 @@ Found 1 error. ] ], "version": "FakeTSVersion", - "size": 1094 + "size": 1082 } @@ -168,19 +166,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -225,7 +223,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -256,12 +254,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -272,7 +270,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -321,7 +319,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 964 + "size": 952 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7cedb25f8210f..4341980936a6b 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/semantic-errors.js @@ -57,8 +57,6 @@ 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 +86,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -146,19 +144,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -226,19 +224,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 339d141d2c57c..7c5e4704f744e 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,15 +62,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -81,7 +79,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -142,7 +140,7 @@ Found 1 error. ], "errors": true, "version": "FakeTSVersion", - "size": 991 + "size": 979 } @@ -161,19 +159,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -219,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -252,12 +250,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -268,7 +266,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -322,7 +320,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1043 + "size": 1031 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -371,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9f079fc1c72d1..6d316a270b794 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,8 +61,6 @@ 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"} @@ -93,19 +91,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -152,19 +150,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -251,19 +249,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 983ba99dc7240..ad44729fce6f1 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,15 +61,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -80,7 +78,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -140,7 +138,7 @@ Found 1 error. ], "errors": true, "version": "FakeTSVersion", - "size": 972 + "size": 960 } @@ -158,19 +156,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -215,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -248,12 +246,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -264,7 +262,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -313,7 +311,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -347,7 +345,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2b9516e8a78ab..a57a9719cd3e0 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/multiFile/syntax-errors.js @@ -60,8 +60,6 @@ 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 +89,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -149,19 +147,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -233,19 +231,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 69fc8d6c16b5b..994d32036782a 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,21 +66,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -110,7 +108,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 957 + "size": 945 } @@ -130,13 +128,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +233,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -276,7 +274,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 949 + "size": 937 } @@ -296,13 +294,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a790d8896b248..2be925ecb127f 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,8 +65,6 @@ 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"} @@ -98,13 +96,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -159,13 +157,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +223,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -286,13 +284,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b61ed221cf8c4..5264416734cb8 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,21 +65,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +106,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 926 } @@ -127,13 +125,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +184,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +229,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -271,7 +269,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 930 + "size": 918 } @@ -290,13 +288,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +347,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2289333c42a70..57be6bf61faf5 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/dts-errors.js @@ -64,8 +64,6 @@ 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 +94,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -156,13 +154,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +219,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +279,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 836e5ce2df2d9..f9a895c718cb3 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,21 +70,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -127,7 +125,7 @@ Found 3 errors. false ], "version": "FakeTSVersion", - "size": 1073 + "size": 1061 } @@ -147,13 +145,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -256,18 +254,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -297,7 +295,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 941 + "size": 929 } @@ -317,13 +315,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -377,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ac61accb80dbe..247b4ecfff1e8 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,8 +69,6 @@ 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"} @@ -102,13 +100,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +166,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +231,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -294,13 +292,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b8b6ecde0ec0a..f14f2440a6178 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,21 +69,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +123,7 @@ Found 3 errors. false ], "version": "FakeTSVersion", - "size": 1054 + "size": 1042 } @@ -144,13 +142,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +206,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -252,18 +250,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -292,7 +290,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 922 + "size": 910 } @@ -311,13 +309,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -370,7 +368,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6538fd9e3d21b..3d46e17b85781 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/semantic-errors.js @@ -68,8 +68,6 @@ 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 +98,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -165,13 +163,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +227,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -289,13 +287,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a5d4587ffae7b..d599ed33c650f 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,21 +73,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +115,7 @@ Found 3 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 951 + "size": 939 } @@ -137,13 +135,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -248,18 +246,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -289,7 +287,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 950 + "size": 938 } @@ -309,13 +307,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -369,7 +367,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bd541c4779f57..09d1fa72123dc 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,8 +72,6 @@ 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"} @@ -105,13 +103,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -171,13 +169,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -238,13 +236,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -299,13 +297,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 42197eb30be1c..d6ffc777b8f17 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,21 +72,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +113,7 @@ Found 3 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 932 + "size": 920 } @@ -134,13 +132,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -244,18 +242,18 @@ Found 2 errors. //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -284,7 +282,7 @@ Found 2 errors. ], "errors": true, "version": "FakeTSVersion", - "size": 931 + "size": 919 } @@ -303,13 +301,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -362,7 +360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0e09c8df8ebb6..b3052ef1c41b1 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/outFile/syntax-errors.js @@ -71,8 +71,6 @@ 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 +101,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,13 +166,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -234,13 +232,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -294,13 +292,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79cbdac3ce154..be868487ccaff 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/dist/src/index.js] export const x = 10; @@ -48,16 +46,16 @@ export declare const x = 10; //// [/home/src/workspaces/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -87,7 +85,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } 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 606875b8e0eaf..c711baf3a45f0 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,8 +45,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/dist/src/index.js] export const x = 10; 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 14273c4213646..df3d9bcebddaf 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,8 +48,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/dist/index.js] export const x = 10; @@ -67,17 +65,17 @@ export type t = string; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/index.ts", "./types/type.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -120,7 +118,7 @@ export type t = string; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -134,7 +132,7 @@ export type t = string; ], "latestChangedDtsFile": "./types/type.d.ts", "version": "FakeTSVersion", - "size": 937 + "size": 925 } 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 9222b56c5c450..edc502c5010ee 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,8 +47,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/dist/index.js] export const x = 10; 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 5a11143a30b03..cb8a0c04e7155 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified.js @@ -37,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/dist/index.js] export const x = 10; diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index c7c55e4d0e845..b59c9281ad4f8 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -61,8 +61,6 @@ 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] export const Other = 0; @@ -72,16 +70,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/other/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/other/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../src/other/other.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -114,7 +112,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 843 + "size": 831 } //// [/home/src/workspaces/solution/dist/main/b.js] @@ -135,12 +133,12 @@ export {}; //// [/home/src/workspaces/solution/dist/main/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../src/main/b.ts", "../../src/main/a.ts" ], @@ -150,7 +148,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 1001 + "size": 989 } 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 b9e006fffa530..128fc02d53074 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,8 +87,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/dist/other.js] export const Other = 0; @@ -98,16 +96,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -139,7 +137,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 815 + "size": 803 } //// [/home/src/workspaces/solution/dist/b.js] 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 fa6d3444d6789..228d52078e149 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/dist/other.js] export const Other = 0; @@ -84,16 +82,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -123,7 +121,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 769 + "size": 757 } 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 d307a835ddb09..c8de4a590bb28 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,8 +92,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/dist/other.js] export const Other = 0; @@ -103,16 +101,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -142,7 +140,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 769 + "size": 757 } //// [/home/src/workspaces/solution/dist/b.js] 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 5f98883a5c25b..9565ae76d6523 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,8 +93,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/dist/other.js] export const Other = 0; @@ -104,16 +102,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -143,7 +141,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 769 + "size": 757 } //// [/home/src/workspaces/solution/dist/b.js] 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 e73f86aa6bceb..c5422c3b68428 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/dist/other.js] export const Other = 0; @@ -90,16 +88,16 @@ export declare const Other = 0; //// [/home/src/workspaces/solution/dist/tsconfig.other.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/tsconfig.other.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/other/other.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -129,7 +127,7 @@ export declare const Other = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 769 + "size": 757 } //// [/home/src/workspaces/solution/dist/b.js] @@ -150,12 +148,12 @@ export {}; //// [/home/src/workspaces/solution/dist/tsconfig.main.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/dist/tsconfig.main.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/main/b.ts", "../src/main/a.ts" ], @@ -165,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -212,7 +210,7 @@ export {}; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 924 + "size": 912 } 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 33e7dd622f05b..7c44f717ed73d 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -78,8 +78,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/shared/index.js] /*@before/home/src/workspaces/solution/shared/tsconfig.json*/ export function f1() { } @@ -104,16 +102,16 @@ export declare function f2(): void; //// [/home/src/workspaces/solution/shared/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -144,7 +142,7 @@ export declare function f2(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 927 + "size": 915 } //// [/home/src/workspaces/solution/webpack/index.js] @@ -171,16 +169,16 @@ export declare function f22(): void; //// [/home/src/workspaces/solution/webpack/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -211,7 +209,7 @@ export declare function f22(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 934 + "size": 922 } @@ -225,15 +223,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/solution/shared/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/solution/shared/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/solution/shared/index.ts (used version) Program root files: [ @@ -246,15 +244,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/solution/webpack/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/solution/webpack/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 68a09002334ea..12a0c4c071a2f 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -78,8 +78,6 @@ 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" 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 5f4874d185538..a4e3a743248bd 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -74,8 +74,6 @@ 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" @@ -98,12 +96,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -113,7 +111,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -160,7 +158,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -174,7 +172,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1075 + "size": 1063 } 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 e52a6560194ed..b434801a2dbf7 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Part of 'files' list in tsconfig.json Imported via "./hello.json" from file 'project/src/index.ts' @@ -80,8 +80,6 @@ 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" diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index 211240004b138..1ae55227f9015 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Part of 'files' list in tsconfig.json Imported via "./hello.json" from file 'project/src/index.ts' @@ -76,8 +76,6 @@ 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" @@ -100,12 +98,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -115,7 +113,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -162,7 +160,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -176,7 +174,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1075 + "size": 1063 } 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 044309f8b4f96..a51917822cfa0 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +78,6 @@ 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" 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 3c658ebdf2207..5e46b4be3e9e4 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +74,6 @@ 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" @@ -98,12 +96,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/index.json", "../src/index.ts" ], @@ -113,7 +111,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -160,7 +158,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -174,7 +172,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1076 + "size": 1064 } 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 bfff2f0412e0f..4c72432ff2705 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +78,6 @@ 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" 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 6faf4e0f07143..225f92f73ca89 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +74,6 @@ 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" @@ -98,12 +96,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -113,7 +111,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -160,7 +158,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -174,7 +172,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1075 + "size": 1063 } 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 59f9facfc6169..5d4ac497be8db 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -76,8 +76,6 @@ 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" 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 73a3eb1407ba5..1d59e6ec0fa9d 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/hello.json Imported via "../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -70,8 +70,6 @@ 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) { 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 528705a3fd104..45c1a16ff7c4d 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/hello.json Imported via "../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -72,8 +72,6 @@ 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) { @@ -90,12 +88,12 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./hello.json", "./src/index.ts" ], @@ -105,7 +103,7 @@ export default _default; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -149,7 +147,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -163,7 +161,7 @@ export default _default; ], "latestChangedDtsFile": "./dist/index.d.ts", "version": "FakeTSVersion", - "size": 1089 + "size": 1077 } 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 fcf332558268d..4b377da4cf4e4 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library hello.json Imported via "../../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -75,8 +75,6 @@ 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) { 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 022d5e2d4129c..b5587532676df 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library hello.json Imported via "../../hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -71,8 +71,6 @@ 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) { @@ -89,12 +87,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../hello.json", "../src/index.ts" ], @@ -104,7 +102,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -147,7 +145,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -161,7 +159,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1077 + "size": 1065 } 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 6497c7a033201..1a1d832623321 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -68,8 +68,6 @@ 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) { 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 3bfb6b466d889..79bda6265f1da 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -70,8 +70,6 @@ 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) { @@ -88,12 +86,12 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/hello.json", "./src/index.ts" ], @@ -103,7 +101,7 @@ export default _default; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -145,7 +143,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -159,7 +157,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1054 + "size": 1042 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index 83b3109c5fe35..6654c734d8111 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' project/src/index.ts @@ -72,8 +72,6 @@ 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" @@ -96,12 +94,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -111,7 +109,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -154,7 +152,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -168,7 +166,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1073 + "size": 1061 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js index ad1f7ef87bcfd..3ac8cbb704001 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -80,8 +80,6 @@ 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" @@ -147,8 +145,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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 9027abdb0b014..266afc18b7adf 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -76,8 +76,6 @@ 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" @@ -103,12 +101,12 @@ export default _default; //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/hello.json", "../src/index.ts" ], @@ -118,7 +116,7 @@ export default _default; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -166,7 +164,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -180,7 +178,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1092 + "size": 1080 } @@ -205,8 +203,8 @@ Output:: 4 "moduleResolution": "node",    ~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 ee5c47d998310..3df282cefd1fc 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -70,8 +70,6 @@ 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) { @@ -120,8 +118,8 @@ Output:: TSFILE: /home/src/workspaces/solution/project/src/index.js TSFILE: /home/src/workspaces/solution/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 137cbff914022..9273275de0ff8 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library project/src/hello.json Imported via "./hello.json" from file 'project/src/index.ts' Part of 'files' list in tsconfig.json @@ -72,8 +72,6 @@ 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) { @@ -90,12 +88,12 @@ export default _default; //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "./src/hello.json", "./src/index.ts" ], @@ -105,7 +103,7 @@ export default _default; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -151,7 +149,7 @@ export default _default; }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -165,7 +163,7 @@ export default _default; ], "latestChangedDtsFile": "./src/index.d.ts", "version": "FakeTSVersion", - "size": 1056 + "size": 1044 } @@ -190,8 +188,8 @@ Output:: 4 "moduleResolution": "node",    ~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 fedd9b5513f87..f421dc050f69e 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,8 +75,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/file1.js] export const x = "hello"; @@ -134,12 +132,12 @@ export declare const nonConsecutive = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts", "./random.d.ts", @@ -163,7 +161,7 @@ export declare const nonConsecutive = "hello"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -286,7 +284,7 @@ export declare const nonConsecutive = "hello"; }, "latestChangedDtsFile": "./anotherNonConsecutive.d.ts", "version": "FakeTSVersion", - "size": 2035 + "size": 2023 } @@ -311,12 +309,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file2.ts", "./random.d.ts", "./nonconsecutive.ts", @@ -339,7 +337,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -450,7 +448,7 @@ Output:: }, "latestChangedDtsFile": "./anotherNonConsecutive.d.ts", "version": "FakeTSVersion", - "size": 1900 + "size": 1888 } 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 8d468743d6324..cca170a01457f 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,8 +47,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/file1.js] export const x = "hello"; @@ -66,12 +64,12 @@ export declare const y = "world"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file1.ts", "./random.d.ts", "./file2.ts" @@ -82,7 +80,7 @@ export declare const y = "world"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -132,7 +130,7 @@ export declare const y = "world"; }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 1029 + "size": 1017 } @@ -157,12 +155,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./random.d.ts", "./file2.ts" ], @@ -172,7 +170,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -210,7 +208,7 @@ Output:: }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 895 + "size": 883 } 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 8d6cba561cc8e..5975226f4d373 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,8 +48,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/file1.js] export const x = "hello"; @@ -83,19 +81,19 @@ export declare const y = "world"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts", "./file3.ts", "./file4.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -156,7 +154,7 @@ export declare const y = "world"; }, "latestChangedDtsFile": "./file4.d.ts", "version": "FakeTSVersion", - "size": 1147 + "size": 1135 } @@ -181,18 +179,18 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file2.ts", "./file3.ts", "./file4.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -244,7 +242,7 @@ Output:: }, "latestChangedDtsFile": "./file4.d.ts", "version": "FakeTSVersion", - "size": 1015 + "size": 1003 } 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 e62b644292e72..97f06fac685e5 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -124,8 +124,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +143,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] export function log(str) { console.log(str); @@ -176,18 +174,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -240,7 +238,7 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1158 + "size": 1146 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] @@ -253,12 +251,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -273,7 +271,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -361,7 +359,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -383,7 +381,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1345 } @@ -422,8 +420,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -464,8 +462,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -493,8 +491,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,18 +523,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -589,16 +587,16 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -613,7 +611,7 @@ export declare const x = 10; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -701,7 +699,7 @@ export declare const x = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -723,7 +721,7 @@ export declare const x = 10; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1388 + "size": 1376 } @@ -762,8 +760,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -799,8 +797,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -826,8 +824,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -843,17 +841,17 @@ Found 1 error. //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -895,16 +893,16 @@ Found 1 error. }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1001 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", @@ -917,7 +915,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -990,7 +988,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1008,7 +1006,7 @@ Found 1 error. ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1240 + "size": 1228 } @@ -1047,8 +1045,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 359fe517a1a1b..292d442cfecec 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -124,8 +124,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +143,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/solution/projects/shared/dist/src/logging.js] export function log(str) { console.log(str); @@ -176,18 +174,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -240,7 +238,7 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1158 + "size": 1146 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] @@ -253,12 +251,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -273,7 +271,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -361,7 +359,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -383,7 +381,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1345 } @@ -422,8 +420,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -464,8 +462,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -493,8 +491,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,18 +523,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -589,16 +587,16 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -613,7 +611,7 @@ export declare const x = 10; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -701,7 +699,7 @@ export declare const x = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -723,7 +721,7 @@ export declare const x = 10; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1388 + "size": 1376 } @@ -762,8 +760,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -799,8 +797,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -826,8 +824,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -843,17 +841,17 @@ Found 1 error. //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -895,16 +893,16 @@ Found 1 error. }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1001 } //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -917,7 +915,7 @@ Found 1 error. ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -990,7 +988,7 @@ Found 1 error. }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1008,7 +1006,7 @@ Found 1 error. ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1240 + "size": 1228 } @@ -1047,8 +1045,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 2ed010ebc3a4a..d237f664f9079 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/file1.js] export const x = "hello"; @@ -61,17 +59,17 @@ export declare const y = "world"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -112,7 +110,7 @@ export declare const y = "world"; }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 881 + "size": 869 } @@ -137,16 +135,16 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./file2.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -175,7 +173,7 @@ Output:: }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 747 + "size": 735 } 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 66071caa8b777..b7df9ac4e8f41 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,8 +98,6 @@ 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] export const World = "hello"; @@ -127,18 +125,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -194,7 +192,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -216,12 +214,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -233,7 +231,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -279,7 +277,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -297,12 +295,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -319,7 +317,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -372,7 +370,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index 60c9e3ba48fbf..9dc832ebe47fa 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -110,8 +110,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -139,18 +137,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -228,12 +226,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -245,7 +243,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -291,7 +289,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index 8fcd86fa8f0a7..4e8f80bf09f9d 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -97,8 +97,6 @@ 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] export const World = "hello"; @@ -126,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -193,7 +191,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } @@ -220,12 +218,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -237,7 +235,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -283,7 +281,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } @@ -306,12 +304,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -328,7 +326,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -381,7 +379,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 d4dc983b7f201..5983da5e058fc 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,8 +97,6 @@ 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] export const World = "hello"; @@ -126,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -193,7 +191,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -215,12 +213,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -232,7 +230,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -278,7 +276,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./out/decls/index.d.ts", "version": "FakeTSVersion", - "size": 1430 + "size": 1418 } //// [/user/username/projects/sample1/tests/index.js] @@ -296,12 +294,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/out/decls/index.d.ts", @@ -318,7 +316,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -371,7 +369,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1564 + "size": 1552 } 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 2fe32b89f74a3..db7bcca9f41ea 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,8 +97,6 @@ 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] export const World = "hello"; @@ -126,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -193,7 +191,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/outDir/index.js.map] @@ -215,12 +213,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../core/index.d.ts", "../../core/anothermodule.d.ts", "../index.ts" @@ -232,7 +230,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -278,7 +276,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1413 + "size": 1401 } //// [/user/username/projects/sample1/tests/index.js] @@ -296,12 +294,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/outdir/index.d.ts", @@ -318,7 +316,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -371,7 +369,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1561 + "size": 1549 } 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 f1ffd8c688938..45b8694b2e1d7 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,8 +105,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; 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 2f8536e40c0af..11ff8454dea9b 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,8 +123,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -152,18 +150,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -219,7 +217,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -241,12 +239,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -258,7 +256,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -318,7 +316,7 @@ export declare const m: typeof mod; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1616 + "size": 1604 } //// [/user/username/projects/sample1/tests/index.js] @@ -336,12 +334,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -358,7 +356,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -411,7 +409,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1551 + "size": 1539 } 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 c1e4f7ee02827..e53297afdca7e 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -95,8 +95,6 @@ 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] export const World = "hello"; @@ -124,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -191,7 +189,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -213,12 +211,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -230,7 +228,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -276,7 +274,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } 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 2e72e57095a81..ebc098841aa4f 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -422,16 +420,16 @@ declare const m = 10; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -464,7 +462,7 @@ declare const m = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 806 + "size": 794 } @@ -511,18 +509,18 @@ export function multiply(a, b) { return a * b; } {"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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -578,7 +576,7 @@ export function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1372 + "size": 1360 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time 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 ec89ecb437b7a..dfc8a0aa04a32 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 359ca5726813e..5473609ab5c8e 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -93,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 15536d5094c5d..5d063e7831e65 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index df8ad9490c8d1..dbf57559461e5 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -147,8 +147,6 @@ 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] export const World = "hello"; @@ -176,18 +174,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -243,7 +241,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -265,12 +263,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -282,7 +280,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -328,7 +326,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -346,12 +344,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -368,7 +366,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -421,7 +419,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -449,8 +447,8 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -461,8 +459,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -475,8 +473,8 @@ logic/index.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -511,18 +509,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -578,18 +576,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1434 + "size": 1422 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -601,7 +599,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -647,17 +645,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -674,7 +672,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -727,7 +725,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1579 } @@ -756,8 +754,8 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -786,18 +784,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -853,7 +851,7 @@ class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1456 + "size": 1444 } //// [/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 d7e065fb8619b..d232070100e5a 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index d9f4552360004..530a7c621c125 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -92,8 +92,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -121,18 +119,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -188,7 +186,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -210,12 +208,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -227,7 +225,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -273,7 +271,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -291,12 +289,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -313,7 +311,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -366,7 +364,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -395,12 +393,12 @@ function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -412,7 +410,7 @@ function foo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -458,7 +456,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1433 + "size": 1421 } @@ -499,12 +497,12 @@ export declare class cNew { //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -516,7 +514,7 @@ export declare class cNew { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -562,19 +560,19 @@ export declare class cNew { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1486 + "size": 1474 } 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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -591,7 +589,7 @@ Dts change to Logic:: After building next project ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -644,6 +642,6 @@ Dts change to Logic:: After building next project }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1587 + "size": 1575 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index d917275949fb9..2a73b6a86ed39 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -112,8 +112,6 @@ 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] export const World = "hello"; @@ -141,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -208,7 +206,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -230,12 +228,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -247,7 +245,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -293,7 +291,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -311,12 +309,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -333,7 +331,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -386,7 +384,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -436,18 +434,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -503,18 +501,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1434 + "size": 1422 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -526,7 +524,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -572,17 +570,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -599,7 +597,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -652,7 +650,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1579 } @@ -689,18 +687,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -756,7 +754,7 @@ class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1456 + "size": 1444 } //// [/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 84b7bdb4f28f6..f7dbb0cff321b 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -96,23 +96,21 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --b tests --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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] export const World = "hello"; @@ -140,18 +138,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -207,7 +205,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -229,12 +227,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -246,7 +244,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -292,7 +290,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -310,12 +308,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -332,7 +330,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -385,7 +383,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -404,15 +402,15 @@ export class someClass { } /home/src/tslibs/TS/Lib/tsc.js --b tests --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -439,18 +437,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -506,18 +504,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1434 + "size": 1422 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -529,7 +527,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -575,17 +573,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -602,7 +600,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -655,7 +653,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1579 } @@ -675,7 +673,7 @@ class someClass2 { } /home/src/tslibs/TS/Lib/tsc.js --b tests --listFiles Output:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -693,18 +691,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -760,7 +758,7 @@ class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1456 + "size": 1444 } //// [/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 c90d2efda9011..fcabf5689fe03 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -399,18 +397,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -466,19 +464,19 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSCurrentVersion", - "size": 1376 + "size": 1364 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -490,7 +488,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -536,18 +534,18 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSCurrentVersion", - "size": 1423 + "size": 1411 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -564,7 +562,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -617,7 +615,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSCurrentVersion", - "size": 1561 + "size": 1549 } 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 5db4f990f0c15..deaeb4c475ece 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 cd9765f0332b5..d99ec072150c9 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,8 +122,6 @@ 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] @@ -153,18 +151,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -220,7 +218,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -242,12 +240,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -259,7 +257,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -305,7 +303,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -433,12 +431,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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -455,7 +453,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -508,7 +506,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 28ea3fa33b161..65d7de812f27b 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 4fe487e1c0d86..75f1ffb189a82 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,8 +136,6 @@ Found 3 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/index.js] export const someString = "HELLO WORLD"; export function leftPad(s, n) { return s + n; } @@ -151,17 +149,17 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export declare function multiply(a: number, b: number): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -217,7 +215,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1189 + "size": 1177 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -238,12 +236,12 @@ export declare const m: any; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "./index.ts" ], @@ -253,7 +251,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -308,7 +306,7 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1462 + "size": 1450 } //// [/user/username/projects/sample1/tests/index.js] @@ -325,12 +323,12 @@ export declare const m: any; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" @@ -342,7 +340,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -401,7 +399,7 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1537 + "size": 1525 } 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 a698730045e68..5d6dc139a5ff5 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,8 +136,6 @@ Found 3 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/index.js] export const someString = "HELLO WORLD"; export function leftPad(s, n) { return s + n; } @@ -151,17 +149,17 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export declare function multiply(a: number, b: number): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -217,7 +215,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1189 + "size": 1177 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -238,12 +236,12 @@ export declare const m: any; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "./index.ts" ], @@ -253,7 +251,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -308,7 +306,7 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1462 + "size": 1450 } //// [/user/username/projects/sample1/tests/index.js] @@ -325,12 +323,12 @@ export declare const m: any; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../logic/index.d.ts", "./index.ts" @@ -342,7 +340,7 @@ export declare const m: any; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -401,7 +399,7 @@ export declare const m: any; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1537 + "size": 1525 } diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 3579a63b228bb..c04156fff31e8 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -115,8 +115,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -144,18 +142,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -211,7 +209,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -233,12 +231,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -250,7 +248,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -296,7 +294,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -314,12 +312,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -336,7 +334,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -389,7 +387,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } //// [/user/username/projects/sample1/core/anothermodule.d.ts.map.baseline.txt] @@ -759,18 +757,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -826,18 +824,18 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1434 + "size": 1422 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -849,7 +847,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -895,17 +893,17 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -922,7 +920,7 @@ export declare class someClass { ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -975,7 +973,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1579 } //// [/user/username/projects/sample1/core/index.d.ts.map.baseline.txt] @@ -1178,18 +1176,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1245,7 +1243,7 @@ class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1456 + "size": 1444 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -1338,12 +1336,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1355,7 +1353,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1402,17 +1400,17 @@ Output:: }, "latestChangedDtsFile": "./decls/index.d.ts", "version": "FakeTSVersion", - "size": 1486 + "size": 1474 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/decls/index.d.ts", @@ -1429,7 +1427,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1482,7 +1480,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1597 + "size": 1585 } //// [/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 7147d4fb9a218..1b9c1f7ef0b44 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,8 +125,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -155,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -245,7 +243,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1643 + "size": 1631 } @@ -331,18 +329,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -398,7 +396,7 @@ export function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -420,12 +418,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -437,7 +435,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -483,7 +481,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -501,12 +499,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -523,7 +521,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -576,7 +574,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 a90d28a753050..fd8d20613338b 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,8 +128,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -158,18 +156,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -248,7 +246,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1643 + "size": 1631 } @@ -334,18 +332,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -401,7 +399,7 @@ export function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -423,12 +421,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -440,7 +438,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -486,7 +484,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -504,12 +502,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -526,7 +524,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -579,7 +577,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } diff --git a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js index ced8a680237fa..96a639c5bee16 100644 --- a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js @@ -36,9 +36,7 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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* +{"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"} //// [/home/src/workspaces/project/main.js] export const x = 10; @@ -47,11 +45,11 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -72,7 +70,7 @@ export const x = 10; ] ], "version": "FakeTSVersion", - "size": 596 + "size": 584 } @@ -82,7 +80,7 @@ Change:: tsbuildinfo written has error Input:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -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"} +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"} /home/src/tslibs/TS/Lib/tsc.js --b -i -v @@ -97,7 +95,7 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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 cc4d2fe171ed8..54c53f4d593e3 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -103,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -116,18 +114,18 @@ export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -171,7 +169,7 @@ export function multiply(a, b) { return a * b; } "skipDefaultLibCheck": true }, "version": "FakeTSVersion", - "size": 983 + "size": 971 } @@ -201,18 +199,18 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -265,7 +263,7 @@ Output:: "skipDefaultLibCheck": true }, "version": "FakeTSVersion", - "size": 1292 + "size": 1280 } //// [/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 47d4767f83a08..44b8e96832f29 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -115,8 +115,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -144,18 +142,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -211,7 +209,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -233,12 +231,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -250,7 +248,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -296,7 +294,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -314,12 +312,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -336,7 +334,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -389,7 +387,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -441,18 +439,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -508,7 +506,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1370 + "size": 1358 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -564,18 +562,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -631,7 +629,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/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 94c03eb73a311..c515e4a78ab81 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -124,8 +124,6 @@ Found 1 error. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -153,18 +151,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -220,7 +218,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -242,12 +240,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -259,7 +257,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -305,7 +303,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -323,12 +321,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -345,7 +343,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -399,7 +397,7 @@ export declare const m: typeof mod; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -421,7 +419,7 @@ export declare const m: typeof mod; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1619 + "size": 1607 } @@ -472,12 +470,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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -494,7 +492,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -548,7 +546,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1577 + "size": 1565 } 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 fde60c7483392..377fad9cf710f 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,8 +115,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -144,18 +142,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -211,7 +209,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -233,12 +231,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -250,7 +248,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -296,7 +294,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -314,12 +312,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -336,7 +334,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -389,7 +387,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } 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 9d4b91b0bf78a..b2290384dc770 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -116,8 +116,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -145,18 +143,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -212,7 +210,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -234,12 +232,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/ownFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/ownFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -251,7 +249,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -298,7 +296,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1458 + "size": 1446 } //// [/user/username/projects/sample1/tests/index.js] @@ -316,12 +314,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -338,7 +336,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -391,7 +389,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } //// [/user/username/projects/sample1/core/anothermodule.d.ts.map.baseline.txt] 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 9bf3475ce1458..a4c8e54197d92 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.es2024.full.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../../../../home/src/tslibs/ts/lib/lib.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 30f6f1635fb2e..95dda68e24c81 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -103,8 +103,6 @@ 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 }); @@ -124,18 +122,18 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -179,7 +177,7 @@ function multiply(a, b) { return a * b; } "module": 1 }, "version": "FakeTSVersion", - "size": 967 + "size": 955 } @@ -239,18 +237,18 @@ define(["require", "exports"], function (require, exports) { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -295,7 +293,7 @@ define(["require", "exports"], function (require, exports) { }, "errors": true, "version": "FakeTSVersion", - "size": 981 + "size": 969 } 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 a63f6059b78ae..ea9e97628c626 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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,8 +109,6 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/transitiveReferences/a.js] export class A { } @@ -122,16 +120,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -160,7 +158,7 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 737 + "size": 725 } //// [/user/username/projects/transitiveReferences/b.js] @@ -174,12 +172,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.d.ts", "./b.ts" ], @@ -189,7 +187,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -227,7 +225,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -241,7 +239,7 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 924 + "size": 912 } //// [/user/username/projects/transitiveReferences/c.js] diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 42d106068be60..9b362a06619a9 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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,8 +116,6 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/transitiveReferences/a.js] export class A { } @@ -129,16 +127,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -167,7 +165,7 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 737 + "size": 725 } //// [/user/username/projects/transitiveReferences/b.js] @@ -181,12 +179,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.d.ts", "./b.ts" ], @@ -196,7 +194,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -234,7 +232,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -248,7 +246,7 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 936 + "size": 924 } //// [/user/username/projects/transitiveReferences/c.js] 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 ab5b3fb448fae..213c0e6ed75c1 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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/c.ts @@ -108,8 +108,6 @@ Found 2 errors. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/transitiveReferences/a.js] export class A { } @@ -121,16 +119,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -159,7 +157,7 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 737 + "size": 725 } //// [/user/username/projects/transitiveReferences/b.js] @@ -172,16 +170,16 @@ export declare const b: any; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -210,7 +208,7 @@ export declare const b: any; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -220,7 +218,7 @@ export declare const b: any; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 802 + "size": 790 } //// [/user/username/projects/transitiveReferences/c.js] 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 1351d46279db3..82469ae498e81 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export function foo() { } @@ -65,17 +63,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -117,7 +115,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./b.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 892 + "size": 880 } @@ -141,17 +139,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -209,7 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -256,17 +254,17 @@ export declare function fooBar(): void; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -309,7 +307,7 @@ export declare function fooBar(): void; "latestChangedDtsFile": "./a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 918 + "size": 906 } @@ -327,7 +325,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -380,7 +378,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -423,17 +421,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -475,7 +473,7 @@ Output:: }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 904 + "size": 892 } @@ -493,7 +491,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 652393392f98b..f1c5eefb8d828 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,8 +59,6 @@ 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"; @@ -86,17 +84,17 @@ declare module "b" { //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/a.ts", "./myproject/b.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/a.ts": "4646078106-export function foo() { }", "./myproject/b.ts": "1045484683-export function bar() { }" }, @@ -117,7 +115,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -132,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": 934 + "size": 922 } @@ -158,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -235,7 +233,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -308,17 +306,17 @@ declare module "b" { //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/a.ts", "./myproject/b.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/a.ts": "-3260843409-export function fooBar() { }", "./myproject/b.ts": "1045484683-export function bar() { }" }, @@ -340,7 +338,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -355,7 +353,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": 958 + "size": 946 } @@ -375,7 +373,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -438,7 +436,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -509,7 +507,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cdfd00f73e2ee..438ad62d9c2a7 100644 --- a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js @@ -147,8 +147,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -175,8 +175,6 @@ 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] export const x = 10; @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -290,7 +288,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -386,8 +384,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -433,7 +431,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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/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 3eef777f60ce7..8f9c587a7c333 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 @@ -132,8 +132,6 @@ 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] export {}; @@ -159,12 +157,12 @@ export type TheStr = string; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../const.ts", "../index.ts", "../other.ts" @@ -175,7 +173,7 @@ export type TheStr = string; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -233,7 +231,7 @@ export type TheStr = string; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -251,7 +249,7 @@ export type TheStr = string; ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 1139 + "size": 1127 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] @@ -311,7 +309,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -319,7 +317,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -336,19 +334,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -448,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/packages/pkg2/build/other.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -559,7 +557,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a8ccc3ffc8c8a..bbb448deb9d93 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,8 +138,6 @@ 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/packages/pkg2/build/const.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -158,12 +156,12 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../const.cts", "../index.ts" ], @@ -173,7 +171,7 @@ export type { TheNum } from './const.cjs'; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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, @@ -227,7 +225,7 @@ export type { TheNum } from './const.cjs'; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1042 + "size": 1030 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] @@ -300,17 +298,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +325,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +458,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +572,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +699,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +760,12 @@ File '/package.json' does not exist. //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../../../../../home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../const.cts", "../index.cts" ], @@ -777,7 +775,7 @@ File '/package.json' does not exist. ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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, @@ -831,7 +829,7 @@ File '/package.json' does not exist. }, "latestChangedDtsFile": "./index.d.cts", "version": "FakeTSVersion", - "size": 1043 + "size": 1031 } //// [/user/username/projects/myproject/packages/pkg2/build/index.cjs] @@ -971,7 +969,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/packages/pkg2/const.cts /user/username/projects/myproject/packages/pkg2/index.cts @@ -994,7 +992,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f26bb7ef3bc8d..8610179fc54c8 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,8 +101,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/project1/index.js] export {}; @@ -112,12 +110,12 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/file/index.d.ts", "./index.ts", "../node_modules/@types/foo/index.d.ts", @@ -129,7 +127,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -190,7 +188,7 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1102 + "size": 1090 } //// [/user/username/projects/myproject/project2/index.js] @@ -202,12 +200,12 @@ export {}; //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file.d.ts", "./index.ts", "../node_modules/@types/foo/index.d.ts" @@ -218,7 +216,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -265,7 +263,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -283,7 +281,7 @@ export {}; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 984 + "size": 972 } @@ -340,21 +338,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +373,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +381,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -428,12 +426,12 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/file/index.d.ts", "./index.ts", "../node_modules/@types/foo/index.d.ts", @@ -445,7 +443,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -506,7 +504,7 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1117 + "size": 1105 } @@ -526,7 +524,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e2c756c2ba6e9..5d4861a15c47c 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,20 +45,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.js", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -100,7 +98,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 659 + "size": 647 } @@ -130,17 +128,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.js (used version) /user/username/projects/myproject/b.ts (used version) @@ -201,17 +199,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.js", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -259,7 +257,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 765 + "size": 753 } @@ -278,12 +276,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 32e5a69e74e25..086f7fa027341 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,8 +45,6 @@ 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"} @@ -86,17 +84,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.js (used version) /user/username/projects/myproject/b.ts (used version) @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -196,12 +194,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0136015287012..69d7804416a47 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,20 +56,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -140,7 +138,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1042 + "size": 1030 } @@ -170,17 +168,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -214,17 +212,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -276,7 +274,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -295,7 +293,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -340,17 +338,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -390,7 +388,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } //// [/home/src/projects/project/a.js] @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -483,7 +481,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -531,17 +529,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -613,7 +611,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1313 + "size": 1301 } @@ -632,7 +630,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -687,17 +685,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -760,7 +758,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1265 } //// [/home/src/projects/project/a.js] @@ -784,7 +782,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -853,7 +851,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c975622c67a71..cd6a1b717180f 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,19 +53,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -126,7 +124,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -153,15 +151,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -194,16 +192,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -242,7 +240,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 753 + "size": 741 } @@ -260,11 +258,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -305,16 +303,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -344,7 +342,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 717 + "size": 705 } //// [/home/src/projects/project/a.js] @@ -369,7 +367,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -426,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -473,16 +471,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -544,7 +542,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1204 + "size": 1192 } @@ -562,11 +560,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -617,16 +615,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -679,7 +677,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1168 + "size": 1156 } //// [/home/src/projects/project/a.js] @@ -702,7 +700,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -769,7 +767,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8e04aa70baeec..a16e88cca4562 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,20 +45,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -97,7 +95,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 683 } @@ -126,17 +124,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -170,17 +168,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -223,7 +221,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -241,7 +239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -285,17 +283,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -328,7 +326,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -410,7 +408,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -448,17 +446,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -497,7 +495,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 902 + "size": 890 } @@ -515,7 +513,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -559,17 +557,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -602,7 +600,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 871 + "size": 859 } //// [/home/src/projects/project/a.js] @@ -625,7 +623,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -682,7 +680,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 82e9e0f2ea61c..f2908dc93384e 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,19 +42,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -86,7 +84,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 676 + "size": 664 } @@ -112,15 +110,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -153,16 +151,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -195,7 +193,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -212,11 +210,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -256,16 +254,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -292,7 +290,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -312,7 +310,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -367,7 +365,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -404,16 +402,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -446,7 +444,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 864 + "size": 852 } @@ -463,11 +461,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -507,16 +505,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -543,7 +541,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 833 + "size": 821 } //// [/home/src/projects/project/a.js] @@ -565,7 +563,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -620,7 +618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5726219bdc48a..d75516b5c460a 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,8 +41,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] {"root":["./a.ts"],"version":"FakeTSVersion"} @@ -77,15 +75,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -132,11 +130,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -191,7 +189,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -244,7 +242,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -295,11 +293,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -356,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -409,7 +407,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2ae4df4c3720b..af23a185ba91c 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/dts-errors.js @@ -52,8 +52,6 @@ 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"} @@ -90,15 +88,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -156,11 +154,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -277,7 +275,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -350,11 +348,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -427,7 +425,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -492,7 +490,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 274a601da9cfc..7cd1e0a0379b4 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,20 +50,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -116,7 +114,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } @@ -145,17 +143,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -189,17 +187,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -242,7 +240,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -260,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -304,17 +302,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -347,7 +345,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -372,7 +370,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -429,7 +427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -472,17 +470,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -535,7 +533,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 909 + "size": 897 } @@ -553,7 +551,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -602,17 +600,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -659,7 +657,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 878 + "size": 866 } //// [/home/src/projects/project/a.js] file written with same contents @@ -677,7 +675,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -739,7 +737,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0fde79ef5c49a..379f748bda37b 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,19 +47,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -105,7 +103,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 818 + "size": 806 } @@ -131,15 +129,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -172,16 +170,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -214,7 +212,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -231,11 +229,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -275,16 +273,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -311,7 +309,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -331,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -386,7 +384,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -428,16 +426,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -484,7 +482,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 870 + "size": 858 } @@ -501,11 +499,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -550,16 +548,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -600,7 +598,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } //// [/home/src/projects/project/a.js] file written with same contents @@ -617,7 +615,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -677,7 +675,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a19fb9e2aea5c..ff10d3113f6e4 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/semantic-errors.js @@ -46,8 +46,6 @@ 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"} @@ -83,15 +81,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -148,11 +146,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -207,7 +205,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -260,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -327,11 +325,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -388,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -446,7 +444,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e98b9b37efc26..9d6c29e2520d9 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,20 +50,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -100,10 +98,10 @@ Output:: "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -132,7 +130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -170,17 +168,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -227,7 +225,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 825 + "size": 813 } @@ -245,17 +243,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) /home/src/projects/project/b.ts (computed .d.ts) @@ -293,17 +291,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -340,7 +338,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 792 + "size": 780 } //// [/home/src/projects/project/a.js] @@ -365,7 +363,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -422,7 +420,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -465,17 +463,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -515,7 +513,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 809 + "size": 797 } @@ -533,7 +531,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -581,17 +579,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -634,7 +632,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 822 + "size": 810 } //// [/home/src/projects/project/a.js] @@ -655,7 +653,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -719,7 +717,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6b4ade0b34b93..5d3da5c6fffb1 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,19 +47,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -86,10 +84,10 @@ Output:: ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 684 + "size": 672 } @@ -115,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -152,16 +150,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -194,7 +192,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -211,15 +209,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -256,16 +254,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -292,7 +290,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -312,7 +310,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -367,7 +365,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -409,16 +407,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -448,7 +446,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 703 + "size": 691 } @@ -465,7 +463,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -512,16 +510,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -554,7 +552,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 716 + "size": 704 } //// [/home/src/projects/project/a.js] @@ -574,7 +572,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -636,7 +634,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c3c55705f8efb..958cf6a9e20bf 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/multiFile/syntax-errors.js @@ -46,8 +46,6 @@ 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"} @@ -83,7 +81,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -144,15 +142,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -204,7 +202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -257,7 +255,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -324,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -386,7 +384,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -446,7 +444,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9341db4125e92..04e83e413f79b 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,20 +51,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/out.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/a.js": "5381-", "./myproject/b.ts": "5381-" }, @@ -83,12 +81,12 @@ Output:: "outFile": "./out.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "version": "FakeTSVersion", - "size": 650 + "size": 638 } @@ -119,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -176,7 +174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -219,17 +217,17 @@ Output:: //// [/user/username/projects/out.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/a.js": "5029505981-const x = 10;", "./myproject/b.ts": "5381-" }, @@ -248,12 +246,12 @@ Output:: "outFile": "./out.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/a.js", "./myproject/b.ts" ], "version": "FakeTSVersion", - "size": 669 + "size": 657 } @@ -273,7 +271,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7f628ed8abfd2..90311c88e3750 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,8 +51,6 @@ 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"} @@ -94,7 +92,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -150,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.js /user/username/projects/myproject/b.ts @@ -210,7 +208,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 82bbc009778d5..42418a5f720d5 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,20 +58,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -93,10 +91,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } @@ -128,7 +126,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -176,17 +174,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -208,10 +206,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 713 + "size": 701 } @@ -232,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -287,17 +285,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -318,7 +316,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -331,7 +329,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } //// [/home/src/projects/outFile.js] @@ -375,7 +373,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -448,7 +446,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -496,17 +494,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -529,7 +527,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 724 + "size": 712 } @@ -550,7 +548,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -615,17 +613,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -646,7 +644,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -682,7 +680,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } //// [/home/src/projects/outFile.js] @@ -720,7 +718,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -793,7 +791,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 99e6366b67f83..131d2d4a2f523 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,19 +49,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -76,10 +74,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -149,16 +147,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -173,10 +171,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 636 + "size": 624 } @@ -195,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -243,16 +241,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -267,7 +265,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -276,7 +274,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 649 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -302,7 +300,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -366,7 +364,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -408,16 +406,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -434,7 +432,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 650 + "size": 638 } @@ -453,7 +451,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -511,16 +509,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -535,7 +533,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -567,7 +565,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -591,7 +589,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -655,7 +653,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 98ecfbe53058f..f47cd214b3563 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,20 +57,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +89,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 709 + "size": 697 } @@ -125,7 +123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -173,17 +171,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -204,10 +202,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -281,17 +279,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -311,7 +309,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -324,7 +322,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -358,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -429,7 +427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -477,17 +475,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -509,7 +507,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 705 + "size": 693 } @@ -529,7 +527,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -583,17 +581,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -613,7 +611,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -626,7 +624,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 722 + "size": 710 } //// [/home/src/projects/outFile.js] @@ -663,7 +661,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -734,7 +732,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cb4f1e2b87ced..9c67143579d03 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,19 +48,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +72,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 633 + "size": 621 } @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -146,16 +144,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -169,10 +167,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -190,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -237,16 +235,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -260,7 +258,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -269,7 +267,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -290,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -352,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -394,16 +392,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -419,7 +417,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 631 + "size": 619 } @@ -437,7 +435,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -484,16 +482,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -507,7 +505,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -516,7 +514,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 646 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -539,7 +537,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -601,7 +599,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f654a0b494f97..b2767fbc27bb6 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,8 +47,6 @@ 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 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -206,7 +204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -266,7 +264,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -389,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -449,7 +447,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e497c954e4084..0d092062cf3e8 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/dts-errors.js @@ -48,8 +48,6 @@ 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"} @@ -87,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -145,7 +143,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -215,7 +213,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -277,7 +275,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -335,7 +333,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -416,7 +414,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -478,7 +476,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fdee6b1dcf416..eff098df4a817 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,20 +57,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -91,10 +89,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 689 } @@ -125,7 +123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -173,17 +171,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -204,10 +202,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -281,17 +279,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -311,7 +309,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -324,7 +322,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -358,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -429,7 +427,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -477,17 +475,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -509,7 +507,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 685 } @@ -529,7 +527,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -583,17 +581,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -613,7 +611,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -626,7 +624,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 714 + "size": 702 } //// [/home/src/projects/outFile.js] file written with same contents @@ -646,7 +644,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -717,7 +715,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 eb2d8b7d249a6..f2d53e407047b 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,19 +48,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -74,10 +72,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 612 } @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -146,16 +144,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -169,10 +167,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -190,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -237,16 +235,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -260,7 +258,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -269,7 +267,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -290,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -352,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -394,16 +392,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -419,7 +417,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 622 + "size": 610 } @@ -437,7 +435,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -484,16 +482,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -507,7 +505,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -516,7 +514,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 637 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -534,7 +532,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -596,7 +594,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 978214ee78c6e..e4e9e804ea42d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/semantic-errors.js @@ -47,8 +47,6 @@ 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 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -206,7 +204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -266,7 +264,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -384,7 +382,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -444,7 +442,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 64153b0e1d55d..76425e70cead2 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,20 +52,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -86,10 +84,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 679 } @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -168,17 +166,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -199,10 +197,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -276,17 +274,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -306,7 +304,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -319,7 +317,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -467,17 +465,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -499,7 +497,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 687 + "size": 675 } @@ -519,7 +517,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -568,17 +566,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -598,7 +596,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -611,7 +609,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 704 + "size": 692 } //// [/home/src/projects/outFile.js] @@ -645,7 +643,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -711,7 +709,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0d4c428085ed5..071f8bfee99be 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,19 +48,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -74,10 +72,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 614 + "size": 602 } @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -146,16 +144,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -169,10 +167,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -190,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -237,16 +235,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -260,7 +258,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -269,7 +267,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -290,7 +288,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -352,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -394,16 +392,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -419,7 +417,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 600 } @@ -437,7 +435,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -484,16 +482,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -507,7 +505,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -516,7 +514,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 627 + "size": 615 } //// [/home/src/projects/outFile.js] @@ -537,7 +535,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -599,7 +597,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e645208bf099d..157a01c247f57 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/outFile/syntax-errors.js @@ -47,8 +47,6 @@ 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 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -206,7 +204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -266,7 +264,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -387,7 +385,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -447,7 +445,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8b01a95cd2aa2..f903af18988f7 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,15 +64,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -83,7 +81,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -144,7 +142,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 991 + "size": 979 } @@ -178,19 +176,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -245,7 +243,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +285,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -303,7 +301,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -357,7 +355,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1043 + "size": 1031 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -408,7 +406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -485,12 +483,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -501,7 +499,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -575,7 +573,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1211 + "size": 1199 } @@ -596,7 +594,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -657,7 +655,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -697,12 +695,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -713,7 +711,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -767,7 +765,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1034 + "size": 1022 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -794,7 +792,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -877,12 +875,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -893,7 +891,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -979,7 +977,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1549 + "size": 1537 } @@ -1000,7 +998,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1066,7 +1064,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1107,12 +1105,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -1123,7 +1121,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1177,7 +1175,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1103 + "size": 1091 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -1212,7 +1210,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 91cfdd1a90c4c..faa96b1b2df17 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js @@ -63,8 +63,6 @@ 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"} @@ -110,19 +108,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -176,7 +174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +340,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -418,7 +416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -478,7 +476,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -560,7 +558,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -624,7 +622,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -706,7 +704,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -771,7 +769,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -862,7 +860,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -926,7 +924,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b179723e35dde..4631ca4ec2409 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js @@ -63,15 +63,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -82,7 +80,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -142,7 +140,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 972 + "size": 960 } @@ -175,19 +173,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -241,7 +239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -283,12 +281,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -299,7 +297,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -348,7 +346,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -384,7 +382,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -461,12 +459,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -477,7 +475,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -546,7 +544,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1141 + "size": 1129 } @@ -566,7 +564,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -666,12 +664,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -682,7 +680,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -731,7 +729,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 964 + "size": 952 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -756,7 +754,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -829,12 +827,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -845,7 +843,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -894,7 +892,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1137 + "size": 1125 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -920,7 +918,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -993,12 +991,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -1009,7 +1007,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1058,7 +1056,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1033 + "size": 1021 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file written with same contents @@ -1079,7 +1077,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 52d18dcd96112..bea1d1de924f2 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/multiFile/noEmitOnError.js @@ -62,8 +62,6 @@ 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 +106,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -173,7 +171,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -320,7 +318,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -395,7 +393,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -454,7 +452,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -532,7 +530,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -592,7 +590,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -660,7 +658,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -720,7 +718,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -783,7 +781,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -843,7 +841,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 49b28b2cbaf8e..4f360cee97449 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,21 +75,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -119,7 +117,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 951 + "size": 939 } @@ -154,13 +152,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -228,7 +226,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -280,18 +278,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -321,7 +319,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 950 + "size": 938 } @@ -343,13 +341,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -412,7 +410,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -467,18 +465,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -521,7 +519,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1073 + "size": 1061 } @@ -543,13 +541,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -617,7 +615,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +665,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -708,7 +706,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 941 + "size": 929 } @@ -730,13 +728,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -799,7 +797,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -850,18 +848,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -891,7 +889,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 957 + "size": 945 } @@ -913,13 +911,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -982,7 +980,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1033,18 +1031,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -1074,7 +1072,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 949 + "size": 937 } @@ -1096,13 +1094,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1165,7 +1163,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f8c339540915e..d90d1bebdd4d5 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js @@ -74,8 +74,6 @@ 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"} @@ -122,13 +120,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -195,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -266,13 +264,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +332,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -408,13 +406,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -481,7 +479,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -550,13 +548,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +616,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -688,13 +686,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -756,7 +754,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -826,13 +824,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -894,7 +892,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 42a0406f21451..9d90adca29d41 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js @@ -74,21 +74,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +115,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 932 + "size": 920 } @@ -151,13 +149,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -224,7 +222,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -276,18 +274,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -316,7 +314,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 931 + "size": 919 } @@ -337,13 +335,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -405,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -460,18 +458,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -513,7 +511,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1054 + "size": 1042 } @@ -534,13 +532,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +605,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -657,18 +655,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -697,7 +695,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 922 + "size": 910 } @@ -718,13 +716,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -786,7 +784,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -837,18 +835,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -877,7 +875,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 926 } @@ -898,13 +896,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -966,7 +964,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1017,18 +1015,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -1057,7 +1055,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 930 + "size": 918 } @@ -1078,13 +1076,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -1146,7 +1144,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f3101b4e09166..217af9c06486c 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/outFile/noEmitOnError.js @@ -73,8 +73,6 @@ 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 +118,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -192,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -262,13 +260,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -402,13 +400,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -474,7 +472,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -542,13 +540,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -609,7 +607,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -678,13 +676,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -745,7 +743,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -814,13 +812,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -881,7 +879,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cd714c25c6725..352128114e723 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -302,12 +300,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -324,7 +322,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -377,7 +375,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -453,19 +451,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -484,21 +482,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 0167668389a24..dd0db56d2ecfc 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,8 +120,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -149,18 +147,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -216,7 +214,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -238,12 +236,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -255,7 +253,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -301,7 +299,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -319,12 +317,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -341,7 +339,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -394,7 +392,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -438,19 +436,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -470,19 +468,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -501,21 +499,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -575,12 +573,12 @@ function someFn() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -592,7 +590,7 @@ function someFn() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -638,7 +636,7 @@ function someFn() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1440 + "size": 1428 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -659,7 +657,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -725,12 +723,12 @@ export declare function someFn(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -742,7 +740,7 @@ export declare function someFn(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -788,7 +786,7 @@ export declare function someFn(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1487 + "size": 1475 } @@ -811,12 +809,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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -833,7 +831,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -886,7 +884,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1595 + "size": 1583 } @@ -906,7 +904,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -931,7 +929,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6f89ce3b00c10..a8141988b6738 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,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/solution/app/fileWithError.js] export var myClassWithError = class { tags() { } @@ -67,17 +65,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export declare class myClass { }, "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -146,17 +144,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -206,17 +204,17 @@ export var myClassWithError = class { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -286,7 +284,7 @@ export var myClassWithError = class { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1603 + "size": 1591 } @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts @@ -359,17 +357,17 @@ export declare class myClass2 { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -439,7 +437,7 @@ export declare class myClass2 { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1605 + "size": 1593 } @@ -456,7 +454,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 de5bded251253..a804902b2ef72 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,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/solution/app/fileWithError.js] export var myClassWithError = class { tags() { } @@ -67,17 +65,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export declare class myClass { }, "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -146,17 +144,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -206,17 +204,17 @@ export var myClassWithError = class { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -286,7 +284,7 @@ export var myClassWithError = class { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1603 + "size": 1591 } @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/solution/app/fileWithError.ts /user/username/projects/solution/app/fileWithoutError.ts @@ -348,17 +346,17 @@ export var myClassWithError = class { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -399,7 +397,7 @@ export var myClassWithError = class { }, "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -416,7 +414,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 793e4846dfa20..a4d4a7768337c 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,8 +50,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/solution/app/fileWithError.js] export var myClassWithError = class { tags() { } @@ -70,17 +68,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -143,7 +141,7 @@ export declare class myClass { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1253 + "size": 1241 } @@ -171,17 +169,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -231,17 +229,17 @@ export declare class myClass2 { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -304,7 +302,7 @@ export declare class myClass2 { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1255 + "size": 1243 } @@ -321,7 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ca9011cf1b856..e0fe2a519a7b5 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,8 +50,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/solution/app/fileWithError.js] export var myClassWithError = class { tags() { } @@ -70,17 +68,17 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -143,7 +141,7 @@ export declare class myClass { ], "latestChangedDtsFile": "./fileWithoutError.d.ts", "version": "FakeTSVersion", - "size": 1253 + "size": 1241 } @@ -171,17 +169,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -220,17 +218,17 @@ export var myClassWithError = class { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./filewitherror.ts", "./filewithouterror.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -271,7 +269,7 @@ export var myClassWithError = class { }, "latestChangedDtsFile": "./fileWithError.d.ts", "version": "FakeTSVersion", - "size": 1020 + "size": 1008 } //// [/user/username/projects/solution/app/fileWithError.d.ts] @@ -296,7 +294,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bc2f69c0e1a86..dc99f8d274b34 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -302,12 +300,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -324,7 +322,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -377,7 +375,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -453,19 +451,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -484,21 +482,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -555,12 +553,12 @@ let y = 10; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -572,7 +570,7 @@ let y = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -632,7 +630,7 @@ let y = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1590 + "size": 1578 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -653,7 +651,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -705,18 +703,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -786,7 +784,7 @@ let x = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1543 + "size": 1531 } @@ -828,7 +826,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -854,7 +852,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -912,12 +910,12 @@ export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -929,7 +927,7 @@ export const m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -975,7 +973,7 @@ export const m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -996,7 +994,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 998b00a365bd9..3592fc1d43a6a 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,8 +102,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -131,18 +129,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -220,12 +218,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -237,7 +235,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -283,7 +281,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -301,12 +299,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -323,7 +321,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -376,7 +374,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -454,19 +452,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -486,21 +484,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -556,12 +554,12 @@ let y = 10; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -573,7 +571,7 @@ let y = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -633,7 +631,7 @@ let y = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1590 + "size": 1578 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -655,7 +653,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -706,18 +704,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -787,7 +785,7 @@ let x = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1543 + "size": 1531 } @@ -830,7 +828,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -857,7 +855,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -914,12 +912,12 @@ export const m = mod; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -931,7 +929,7 @@ export const m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -977,7 +975,7 @@ export const m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -999,7 +997,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 519fbf3800391..a710a3e451973 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -302,12 +300,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -324,7 +322,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -377,7 +375,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -453,19 +451,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -484,21 +482,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -555,12 +553,12 @@ let y = 10; //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -572,7 +570,7 @@ let y = 10; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -632,7 +630,7 @@ let y = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1590 + "size": 1578 } @@ -652,7 +650,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -711,18 +709,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -792,7 +790,7 @@ let x = 10; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1543 + "size": 1531 } @@ -817,7 +815,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8ba56e35ec5d5..f4b802254b67e 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,8 +108,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/outDir/anotherModule.js] export const World = "hello"; @@ -131,18 +129,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.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"} +{"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"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../anothermodule.ts", "../index.ts", "../some_decl.d.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -196,7 +194,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1321 + "size": 1309 } @@ -228,19 +226,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -282,19 +280,19 @@ Output:: //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../anothermodule.ts", "../file3.ts", "../index.ts", "../some_decl.d.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -357,7 +355,7 @@ Output:: }, "latestChangedDtsFile": "./file3.d.ts", "version": "FakeTSVersion", - "size": 1440 + "size": 1428 } //// [/user/username/projects/sample1/core/outDir/file3.js] @@ -401,7 +399,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e30cb070bd833..fb671f25aa536 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,8 +110,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -139,18 +137,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } @@ -240,19 +238,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -294,19 +292,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./file3.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -371,7 +369,7 @@ Output:: }, "latestChangedDtsFile": "./file3.d.ts", "version": "FakeTSVersion", - "size": 1487 + "size": 1475 } //// [/user/username/projects/sample1/core/file3.js] @@ -420,7 +418,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 36a2b4a7e30d7..615314a3f1f17 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,8 +127,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -157,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -247,7 +245,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1643 + "size": 1631 } @@ -291,19 +289,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -346,18 +344,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -413,7 +411,7 @@ export function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } @@ -457,12 +455,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -474,7 +472,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -520,7 +518,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -538,12 +536,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -560,7 +558,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -613,7 +611,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -634,7 +632,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -660,19 +658,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -691,21 +689,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 2b0f9e6e5fbc5..8f856722e4916 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,8 +130,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -160,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -250,7 +248,7 @@ export declare function multiply(a: number, b: number): number; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1643 + "size": 1631 } @@ -294,19 +292,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -349,18 +347,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -416,7 +414,7 @@ export function multiply(a, b) { return a * b; } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } @@ -460,12 +458,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -477,7 +475,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -523,7 +521,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -541,12 +539,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -563,7 +561,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -616,7 +614,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -637,7 +635,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -663,19 +661,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -694,21 +692,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 892e00a9cb56d..79cf2afc868e7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js @@ -34,9 +34,7 @@ Output:: //// [/user/username/projects/project/tsconfig.tsbuildinfo] -{"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* +{"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"} //// [/user/username/projects/project/main.js] export const x = 10; @@ -45,11 +43,11 @@ export const x = 10; //// [/user/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -70,7 +68,7 @@ export const x = 10; ] ], "version": "FakeTSVersion", - "size": 611 + "size": 599 } @@ -95,15 +93,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 aae189e9a21ea..7f943cec3fe8a 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } @@ -324,19 +322,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -356,19 +354,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 18d595f53273d..21538cb8ead9a 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,8 +98,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -127,18 +125,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -194,7 +192,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js] @@ -227,12 +225,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.ts", @@ -250,7 +248,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -308,7 +306,7 @@ export declare const m: typeof mod; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -330,7 +328,7 @@ export declare const m: typeof mod; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1813 + "size": 1801 } @@ -372,19 +370,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -403,7 +401,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -412,7 +410,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -496,12 +494,12 @@ export const m = mod; {"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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -513,7 +511,7 @@ export const m = mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -559,7 +557,7 @@ export const m = mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } @@ -606,19 +604,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -641,12 +639,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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -663,7 +661,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -716,7 +714,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -735,14 +733,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c26908b6a46c2..140b9376c2228 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,8 +58,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/Library/library.js] export function createSomeObject() { return { @@ -77,16 +75,16 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./library.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -115,7 +113,7 @@ export {}; }, "latestChangedDtsFile": "./library.d.ts", "version": "FakeTSVersion", - "size": 983 + "size": 971 } //// [/user/username/projects/sample1/App/app.js] @@ -163,15 +161,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/Library/library.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/Library/library.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/sample1/library/library.ts (computed .d.ts during emit) Program root files: [ @@ -184,17 +182,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/sample1/library/library.d.ts (used version) /user/username/projects/sample1/app/app.ts (used version) @@ -249,16 +247,16 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./library.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -287,7 +285,7 @@ export {}; }, "latestChangedDtsFile": "./library.d.ts", "version": "FakeTSVersion", - "size": 985 + "size": 973 } @@ -341,7 +339,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/Library/library.ts Semantic diagnostics in builder refreshed for:: @@ -360,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/Library/library.d.ts /user/username/projects/sample1/App/app.ts @@ -423,16 +421,16 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./library.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -461,7 +459,7 @@ export {}; }, "latestChangedDtsFile": "./library.d.ts", "version": "FakeTSVersion", - "size": 983 + "size": 971 } @@ -504,7 +502,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/Library/library.ts Semantic diagnostics in builder refreshed for:: @@ -523,7 +521,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 809a4a20ca848..ddbd1c00b2c79 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,8 +107,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -130,18 +128,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -195,7 +193,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1320 + "size": 1308 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -217,12 +215,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -234,7 +232,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -280,7 +278,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -298,12 +296,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -320,7 +318,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -373,7 +371,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -415,19 +413,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -447,19 +445,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -478,21 +476,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -522,19 +520,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -597,7 +595,7 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1465 + "size": 1453 } //// [/user/username/projects/sample1/core/newfile.js] @@ -654,7 +652,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -701,7 +699,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -724,7 +722,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -759,19 +757,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -834,7 +832,7 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1531 + "size": 1519 } //// [/user/username/projects/sample1/core/newfile.js] @@ -869,7 +867,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -916,7 +914,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -939,7 +937,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e7e7968b460b7..97cae8ea536e5 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,8 +107,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -130,18 +128,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -195,7 +193,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1320 + "size": 1308 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -217,12 +215,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -234,7 +232,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -280,7 +278,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -298,12 +296,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -320,7 +318,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -373,7 +371,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -415,19 +413,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -447,19 +445,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -478,21 +476,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -542,18 +540,18 @@ export declare class someClass { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -607,7 +605,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1385 + "size": 1373 } @@ -629,7 +627,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -659,12 +657,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -676,7 +674,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -722,17 +720,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -749,7 +747,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -802,7 +800,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1579 } @@ -822,7 +820,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -849,7 +847,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -902,18 +900,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -967,7 +965,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1320 + "size": 1308 } @@ -989,7 +987,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1019,12 +1017,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1036,7 +1034,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1082,17 +1080,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1109,7 +1107,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1162,7 +1160,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -1182,7 +1180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1209,7 +1207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1272,18 +1270,18 @@ export declare class someClass2 { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1337,7 +1335,7 @@ export declare class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1452 + "size": 1440 } @@ -1359,7 +1357,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1389,12 +1387,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1406,7 +1404,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1452,17 +1450,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1491 + "size": 1479 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1479,7 +1477,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1532,7 +1530,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1629 + "size": 1617 } @@ -1552,7 +1550,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1579,7 +1577,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 eeaaa463b0764..c71c2a3f5ccd9 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,8 +107,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -130,18 +128,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -195,7 +193,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1320 + "size": 1308 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -217,12 +215,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -234,7 +232,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -280,7 +278,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -298,12 +296,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -320,7 +318,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -373,7 +371,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -415,19 +413,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -447,19 +445,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -478,21 +476,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -535,18 +533,18 @@ function foo() { } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -600,7 +598,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1339 + "size": 1327 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -621,7 +619,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7ca45f61b8cbb..f06a250a0ebcf 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,8 +63,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspaces/solution/sample1/core/index.js] function foo() { return 10; } @@ -74,16 +72,16 @@ declare function foo(): number; //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "./index.ts": "5450201652-function foo() { return 10; }" }, "root": [ @@ -99,7 +97,7 @@ declare function foo(): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -110,7 +108,7 @@ declare function foo(): number; "outSignature": "517738360-declare function foo(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 792 + "size": 780 } //// [/user/username/workspaces/solution/sample1/logic/index.js] @@ -123,17 +121,17 @@ declare function bar(): number; //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "../core/index.d.ts": "517738360-declare function foo(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, @@ -150,7 +148,7 @@ declare function bar(): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -165,7 +163,7 @@ declare function bar(): number; "outSignature": "1113083433-declare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 869 + "size": 857 } @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.ts No cached semantic diagnostics in the builder:: @@ -218,7 +216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts @@ -266,16 +264,16 @@ declare function myFunc(): number; //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "./index.ts": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }" }, "root": [ @@ -291,7 +289,7 @@ declare function myFunc(): number; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -302,7 +300,7 @@ declare function myFunc(): number; "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 864 + "size": 852 } @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.ts No cached semantic diagnostics in the builder:: @@ -353,17 +351,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.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"} +{"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"} //// [/user/username/workspaces/solution/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "../core/index.d.ts": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, @@ -380,7 +378,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -395,7 +393,7 @@ Output:: "outSignature": "1113083433-declare function bar(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 906 + "size": 894 } @@ -413,7 +411,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.d.ts /user/username/workspaces/solution/sample1/logic/index.ts @@ -456,16 +454,16 @@ function myFunc() { return 100; } //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/workspaces/solution/sample1/core/index.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "./index.ts": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }" }, "root": [ @@ -481,7 +479,7 @@ function myFunc() { return 100; } }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -492,7 +490,7 @@ function myFunc() { return 100; } "outSignature": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 865 + "size": 853 } @@ -513,7 +511,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/solution/sample1/core/index.ts No cached semantic diagnostics in the builder:: @@ -557,7 +555,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5d8b2d297919b..c9e20b927f252 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -302,12 +300,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -324,7 +322,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -377,7 +375,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -453,19 +451,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -484,21 +482,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -528,19 +526,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -605,7 +603,7 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } //// [/user/username/projects/sample1/core/newfile.js] @@ -667,7 +665,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -714,7 +712,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -737,7 +735,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -772,19 +770,19 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./newfile.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -849,7 +847,7 @@ Output:: }, "latestChangedDtsFile": "./newfile.d.ts", "version": "FakeTSVersion", - "size": 1580 + "size": 1568 } //// [/user/username/projects/sample1/core/newfile.js] @@ -889,7 +887,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/sample1/core/anotherModule.ts /user/username/projects/sample1/core/index.ts /user/username/projects/sample1/core/newfile.ts @@ -936,7 +934,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -959,7 +957,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c0ea4b9bcd313..7d3b9c4fb12ab 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -302,12 +300,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -324,7 +322,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -377,7 +375,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -453,19 +451,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -484,21 +482,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -551,18 +549,18 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -618,7 +616,7 @@ export declare class someClass { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1434 + "size": 1422 } @@ -642,7 +640,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -672,12 +670,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -689,7 +687,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -735,17 +733,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -762,7 +760,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -815,7 +813,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1591 + "size": 1579 } @@ -835,7 +833,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -862,7 +860,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -918,18 +916,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -985,7 +983,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } @@ -1009,7 +1007,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1039,12 +1037,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1056,7 +1054,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1102,17 +1100,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1129,7 +1127,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1182,7 +1180,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -1202,7 +1200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1229,7 +1227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1295,18 +1293,18 @@ export declare class someClass2 { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1362,7 +1360,7 @@ export declare class someClass2 { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1501 + "size": 1489 } @@ -1386,7 +1384,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1416,12 +1414,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.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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -1433,7 +1431,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1479,17 +1477,17 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1491 + "size": 1479 } //// [/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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -1506,7 +1504,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1559,7 +1557,7 @@ Output:: }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1629 + "size": 1617 } @@ -1579,7 +1577,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1606,7 +1604,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ba50309a235ae..bcb566358b085 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,8 +103,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/sample1/core/anotherModule.js] export const World = "hello"; @@ -132,18 +130,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -199,7 +197,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -221,12 +219,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -238,7 +236,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -284,7 +282,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -302,12 +300,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -324,7 +322,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -377,7 +375,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -421,19 +419,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -453,19 +451,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -484,21 +482,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -542,18 +540,18 @@ 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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -609,7 +607,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1388 + "size": 1376 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -632,7 +630,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a2dfb098814e2..89d6fbcf8a140 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,8 +96,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/project/commonFile1.js] "use strict"; let x = 1; @@ -117,17 +115,17 @@ declare let y: number; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -173,7 +171,7 @@ declare let y: number; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 911 + "size": 899 } //// [/user/username/projects/project/other.js] @@ -186,16 +184,16 @@ declare let z: number; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -227,7 +225,7 @@ declare let z: number; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 770 + "size": 758 } @@ -262,17 +260,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -288,15 +286,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 d87d617d6bc77..1f06203bdd4b1 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/index.js] const fn = (a, b) => b; @@ -80,15 +78,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/index.ts (used version) exitCode:: ExitStatus.undefined @@ -146,11 +144,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bdb7de65c89fc..36b3e540f84c1 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/project/commonFile1.js] let x = 1; @@ -139,17 +137,17 @@ declare let y: number; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -194,7 +192,7 @@ declare let y: number; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 897 + "size": 885 } //// [/user/username/projects/project/other.js] @@ -206,16 +204,16 @@ declare let z: number; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -246,7 +244,7 @@ declare let z: number; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 756 + "size": 744 } //// [/user/username/projects/project/other2.js] @@ -304,17 +302,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -329,15 +327,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/other.ts (computed .d.ts during emit) Program root files: [ @@ -353,15 +351,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other2.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/other2.ts (used version) exitCode:: ExitStatus.undefined @@ -406,17 +404,17 @@ let y = 1; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -462,7 +460,7 @@ let y = 1; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 911 + "size": 899 } @@ -483,12 +481,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts @@ -520,16 +518,16 @@ let z = 0; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -561,7 +559,7 @@ let z = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 770 + "size": 758 } @@ -578,11 +576,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts No shapes updated in the builder:: @@ -626,16 +624,16 @@ let z = 0; //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -667,7 +665,7 @@ let z = 0; }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 771 + "size": 759 } @@ -684,11 +682,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other.ts No shapes updated in the builder:: @@ -799,14 +797,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts /user/username/projects/project/other.ts @@ -854,17 +852,17 @@ let y = 1; //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./commonfile1.ts", "./commonfile2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -909,7 +907,7 @@ let y = 1; }, "latestChangedDtsFile": "./commonFile2.d.ts", "version": "FakeTSVersion", - "size": 897 + "size": 885 } @@ -929,12 +927,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts @@ -987,14 +985,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/commonFile1.ts /user/username/projects/project/commonFile2.ts /user/username/projects/project/other.ts @@ -1055,11 +1053,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other2.ts No shapes updated in the builder:: @@ -1153,11 +1151,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/other2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2edd50d077e3c..025406d429c66 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,8 +558,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/pkg0/index.js] export const pkg0 = 0; @@ -569,16 +567,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -607,7 +605,7 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -619,16 +617,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -657,7 +655,7 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -669,16 +667,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -707,7 +705,7 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg3/index.js] @@ -719,16 +717,16 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -757,7 +755,7 @@ export declare const pkg3 = 3; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg4/index.js] @@ -769,16 +767,16 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -807,7 +805,7 @@ export declare const pkg4 = 4; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg5/index.js] @@ -819,16 +817,16 @@ export declare const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -857,7 +855,7 @@ export declare const pkg5 = 5; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg6/index.js] @@ -869,16 +867,16 @@ export declare const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -907,7 +905,7 @@ export declare const pkg6 = 6; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg7/index.js] @@ -919,16 +917,16 @@ export declare const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -957,7 +955,7 @@ export declare const pkg7 = 7; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg8/index.js] @@ -969,16 +967,16 @@ export declare const pkg8 = 8; //// [/user/username/projects/myproject/pkg8/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg8/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1007,7 +1005,7 @@ export declare const pkg8 = 8; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg9/index.js] @@ -1019,16 +1017,16 @@ export declare const pkg9 = 9; //// [/user/username/projects/myproject/pkg9/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg9/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1057,7 +1055,7 @@ export declare const pkg9 = 9; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg10/index.js] @@ -1069,16 +1067,16 @@ export declare const pkg10 = 10; //// [/user/username/projects/myproject/pkg10/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg10/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1107,7 +1105,7 @@ export declare const pkg10 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 758 + "size": 746 } //// [/user/username/projects/myproject/pkg11/index.js] @@ -1119,16 +1117,16 @@ export declare const pkg11 = 11; //// [/user/username/projects/myproject/pkg11/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg11/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1157,7 +1155,7 @@ export declare const pkg11 = 11; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 756 + "size": 744 } //// [/user/username/projects/myproject/pkg12/index.js] @@ -1169,16 +1167,16 @@ export declare const pkg12 = 12; //// [/user/username/projects/myproject/pkg12/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg12/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1207,7 +1205,7 @@ export declare const pkg12 = 12; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 758 + "size": 746 } //// [/user/username/projects/myproject/pkg13/index.js] @@ -1219,16 +1217,16 @@ export declare const pkg13 = 13; //// [/user/username/projects/myproject/pkg13/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg13/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1257,7 +1255,7 @@ export declare const pkg13 = 13; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } //// [/user/username/projects/myproject/pkg14/index.js] @@ -1269,16 +1267,16 @@ export declare const pkg14 = 14; //// [/user/username/projects/myproject/pkg14/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg14/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1307,7 +1305,7 @@ export declare const pkg14 = 14; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 757 + "size": 745 } //// [/user/username/projects/myproject/pkg15/index.js] @@ -1319,16 +1317,16 @@ export declare const pkg15 = 15; //// [/user/username/projects/myproject/pkg15/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg15/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1357,7 +1355,7 @@ export declare const pkg15 = 15; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 758 + "size": 746 } //// [/user/username/projects/myproject/pkg16/index.js] @@ -1369,16 +1367,16 @@ export declare const pkg16 = 16; //// [/user/username/projects/myproject/pkg16/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg16/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1407,7 +1405,7 @@ export declare const pkg16 = 16; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 758 + "size": 746 } //// [/user/username/projects/myproject/pkg17/index.js] @@ -1419,16 +1417,16 @@ export declare const pkg17 = 17; //// [/user/username/projects/myproject/pkg17/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg17/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1457,7 +1455,7 @@ export declare const pkg17 = 17; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } //// [/user/username/projects/myproject/pkg18/index.js] @@ -1469,16 +1467,16 @@ export declare const pkg18 = 18; //// [/user/username/projects/myproject/pkg18/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg18/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1507,7 +1505,7 @@ export declare const pkg18 = 18; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } //// [/user/username/projects/myproject/pkg19/index.js] @@ -1519,16 +1517,16 @@ export declare const pkg19 = 19; //// [/user/username/projects/myproject/pkg19/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg19/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1557,7 +1555,7 @@ export declare const pkg19 = 19; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } //// [/user/username/projects/myproject/pkg20/index.js] @@ -1569,16 +1567,16 @@ export declare const pkg20 = 20; //// [/user/username/projects/myproject/pkg20/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg20/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1607,7 +1605,7 @@ export declare const pkg20 = 20; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } //// [/user/username/projects/myproject/pkg21/index.js] @@ -1619,16 +1617,16 @@ export declare const pkg21 = 21; //// [/user/username/projects/myproject/pkg21/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg21/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1657,7 +1655,7 @@ export declare const pkg21 = 21; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } //// [/user/username/projects/myproject/pkg22/index.js] @@ -1669,16 +1667,16 @@ export declare const pkg22 = 22; //// [/user/username/projects/myproject/pkg22/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg22/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1707,7 +1705,7 @@ export declare const pkg22 = 22; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 759 + "size": 747 } @@ -1866,15 +1864,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -1888,15 +1886,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -1910,15 +1908,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) Program root files: [ @@ -1932,15 +1930,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (computed .d.ts during emit) Program root files: [ @@ -1954,15 +1952,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg4/index.ts (computed .d.ts during emit) Program root files: [ @@ -1976,15 +1974,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg5/index.ts (computed .d.ts during emit) Program root files: [ @@ -1998,15 +1996,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg6/index.ts (computed .d.ts during emit) Program root files: [ @@ -2020,15 +2018,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg7/index.ts (computed .d.ts during emit) Program root files: [ @@ -2042,15 +2040,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg8/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg8/index.ts (computed .d.ts during emit) Program root files: [ @@ -2064,15 +2062,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg9/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg9/index.ts (computed .d.ts during emit) Program root files: [ @@ -2086,15 +2084,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg10/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg10/index.ts (computed .d.ts during emit) Program root files: [ @@ -2108,15 +2106,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg11/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg11/index.ts (computed .d.ts during emit) Program root files: [ @@ -2130,15 +2128,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg12/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg12/index.ts (computed .d.ts during emit) Program root files: [ @@ -2152,15 +2150,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg13/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg13/index.ts (computed .d.ts during emit) Program root files: [ @@ -2174,15 +2172,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg14/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg14/index.ts (computed .d.ts during emit) Program root files: [ @@ -2196,15 +2194,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg15/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg15/index.ts (computed .d.ts during emit) Program root files: [ @@ -2218,15 +2216,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg16/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg16/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg16/index.ts (computed .d.ts during emit) Program root files: [ @@ -2240,15 +2238,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg17/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg17/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg17/index.ts (computed .d.ts during emit) Program root files: [ @@ -2262,15 +2260,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg18/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg18/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg18/index.ts (computed .d.ts during emit) Program root files: [ @@ -2284,15 +2282,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg19/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg19/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg19/index.ts (computed .d.ts during emit) Program root files: [ @@ -2306,15 +2304,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg20/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg20/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg20/index.ts (computed .d.ts during emit) Program root files: [ @@ -2328,15 +2326,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg21/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg21/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg21/index.ts (computed .d.ts during emit) Program root files: [ @@ -2350,15 +2348,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg22/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg22/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg22/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -2484,16 +2482,16 @@ const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -2522,7 +2520,7 @@ const someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 776 + "size": 764 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -2560,7 +2558,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -2615,16 +2613,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -2653,7 +2651,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 841 + "size": 829 } @@ -2672,7 +2670,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -2746,7 +2744,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -2764,7 +2762,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -2782,7 +2780,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -2800,7 +2798,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -2818,7 +2816,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -2890,7 +2888,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -2908,7 +2906,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -2926,7 +2924,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: @@ -2944,7 +2942,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: @@ -2962,7 +2960,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: @@ -3034,7 +3032,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: @@ -3052,7 +3050,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: @@ -3070,7 +3068,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: @@ -3088,7 +3086,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: @@ -3106,7 +3104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: @@ -3178,7 +3176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg16/index.ts Semantic diagnostics in builder refreshed for:: @@ -3196,7 +3194,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg17/index.ts Semantic diagnostics in builder refreshed for:: @@ -3214,7 +3212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg18/index.ts Semantic diagnostics in builder refreshed for:: @@ -3232,7 +3230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg19/index.ts Semantic diagnostics in builder refreshed for:: @@ -3250,7 +3248,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg20/index.ts Semantic diagnostics in builder refreshed for:: @@ -3300,7 +3298,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg21/index.ts Semantic diagnostics in builder refreshed for:: @@ -3318,7 +3316,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg22/index.ts Semantic diagnostics in builder refreshed for:: @@ -3373,16 +3371,16 @@ export declare const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -3411,7 +3409,7 @@ export declare const someConst3 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 911 + "size": 899 } @@ -3430,7 +3428,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -3504,7 +3502,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -3522,7 +3520,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -3540,7 +3538,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -3558,7 +3556,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -3576,7 +3574,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -3648,7 +3646,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -3666,7 +3664,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -3684,7 +3682,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: @@ -3702,7 +3700,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: @@ -3720,7 +3718,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: @@ -3804,16 +3802,16 @@ const someConst4 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -3842,7 +3840,7 @@ const someConst4 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 921 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -3871,7 +3869,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -3945,7 +3943,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: @@ -3963,7 +3961,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: @@ -3981,7 +3979,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: @@ -3999,7 +3997,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: @@ -4017,7 +4015,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: @@ -4069,16 +4067,16 @@ export declare const someConst5 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -4107,7 +4105,7 @@ export declare const someConst5 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 999 + "size": 987 } @@ -4126,7 +4124,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -4200,7 +4198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -4218,7 +4216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -4236,7 +4234,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -4254,7 +4252,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -4272,7 +4270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -4344,7 +4342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -4362,7 +4360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -4380,7 +4378,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg8/index.ts Semantic diagnostics in builder refreshed for:: @@ -4398,7 +4396,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg9/index.ts Semantic diagnostics in builder refreshed for:: @@ -4416,7 +4414,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg10/index.ts Semantic diagnostics in builder refreshed for:: @@ -4488,7 +4486,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg11/index.ts Semantic diagnostics in builder refreshed for:: @@ -4506,7 +4504,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg12/index.ts Semantic diagnostics in builder refreshed for:: @@ -4524,7 +4522,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg13/index.ts Semantic diagnostics in builder refreshed for:: @@ -4542,7 +4540,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg14/index.ts Semantic diagnostics in builder refreshed for:: @@ -4560,7 +4558,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg15/index.ts Semantic diagnostics in builder refreshed for:: @@ -4632,7 +4630,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg16/index.ts Semantic diagnostics in builder refreshed for:: @@ -4650,7 +4648,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg17/index.ts Semantic diagnostics in builder refreshed for:: @@ -4668,7 +4666,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg18/index.ts Semantic diagnostics in builder refreshed for:: @@ -4686,7 +4684,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg19/index.ts Semantic diagnostics in builder refreshed for:: @@ -4704,7 +4702,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg20/index.ts Semantic diagnostics in builder refreshed for:: @@ -4754,7 +4752,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg21/index.ts Semantic diagnostics in builder refreshed for:: @@ -4772,7 +4770,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9b42c690b0c8e..c95f2109984a4 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,8 +98,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/pkg0/index.js] export const pkg0 = 0; @@ -109,16 +107,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -147,7 +145,7 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -159,16 +157,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -209,16 +207,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -247,7 +245,7 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } @@ -286,15 +284,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -308,15 +306,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -330,15 +328,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -384,16 +382,16 @@ const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -422,7 +420,7 @@ const someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 776 + "size": 764 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -440,7 +438,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -495,16 +493,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -533,7 +531,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 841 + "size": 829 } @@ -552,7 +550,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -604,7 +602,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -622,7 +620,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cac791fef9e21..cbc825be8b300 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,8 +144,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/pkg0/index.js] export const pkg0 = 0; @@ -155,16 +153,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -193,7 +191,7 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -205,16 +203,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -243,7 +241,7 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -255,16 +253,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -293,7 +291,7 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg3/index.js] @@ -305,16 +303,16 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -343,7 +341,7 @@ export declare const pkg3 = 3; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg4/index.js] @@ -355,16 +353,16 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -393,7 +391,7 @@ export declare const pkg4 = 4; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } @@ -444,15 +442,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -466,15 +464,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -488,15 +486,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) Program root files: [ @@ -510,15 +508,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (computed .d.ts during emit) Program root files: [ @@ -532,15 +530,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg4/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -594,16 +592,16 @@ const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -632,7 +630,7 @@ const someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 776 + "size": 764 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -652,7 +650,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -707,16 +705,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -745,7 +743,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 841 + "size": 829 } @@ -764,7 +762,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -830,7 +828,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -848,7 +846,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -866,7 +864,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -884,7 +882,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 16a0481e77de1..8075f87a2f884 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,8 +213,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/pkg0/index.js] export const pkg0 = 0; @@ -224,16 +222,16 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -262,7 +260,7 @@ export declare const pkg0 = 0; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -274,16 +272,16 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -312,7 +310,7 @@ export declare const pkg1 = 1; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -324,16 +322,16 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -362,7 +360,7 @@ export declare const pkg2 = 2; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg3/index.js] @@ -374,16 +372,16 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -412,7 +410,7 @@ export declare const pkg3 = 3; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg4/index.js] @@ -424,16 +422,16 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -462,7 +460,7 @@ export declare const pkg4 = 4; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg5/index.js] @@ -474,16 +472,16 @@ export declare const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -512,7 +510,7 @@ export declare const pkg5 = 5; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg6/index.js] @@ -524,16 +522,16 @@ export declare const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -562,7 +560,7 @@ export declare const pkg6 = 6; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } //// [/user/username/projects/myproject/pkg7/index.js] @@ -574,16 +572,16 @@ export declare const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -612,7 +610,7 @@ export declare const pkg7 = 7; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 755 + "size": 743 } @@ -681,15 +679,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (computed .d.ts during emit) Program root files: [ @@ -703,15 +701,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (computed .d.ts during emit) Program root files: [ @@ -725,15 +723,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (computed .d.ts during emit) Program root files: [ @@ -747,15 +745,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (computed .d.ts during emit) Program root files: [ @@ -769,15 +767,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg4/index.ts (computed .d.ts during emit) Program root files: [ @@ -791,15 +789,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg5/index.ts (computed .d.ts during emit) Program root files: [ @@ -813,15 +811,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg6/index.ts (computed .d.ts during emit) Program root files: [ @@ -835,15 +833,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg7/index.ts (computed .d.ts during emit) exitCode:: ExitStatus.undefined @@ -909,16 +907,16 @@ const someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -947,7 +945,7 @@ const someConst2 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 776 + "size": 764 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -970,7 +968,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1025,16 +1023,16 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1063,7 +1061,7 @@ export declare const someConst = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 841 + "size": 829 } @@ -1082,7 +1080,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1156,7 +1154,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -1174,7 +1172,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -1192,7 +1190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -1210,7 +1208,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -1228,7 +1226,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -1278,7 +1276,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -1296,7 +1294,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg7/index.ts Semantic diagnostics in builder refreshed for:: @@ -1351,16 +1349,16 @@ export declare const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1389,7 +1387,7 @@ export declare const someConst3 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 911 + "size": 899 } @@ -1408,7 +1406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1482,7 +1480,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts Semantic diagnostics in builder refreshed for:: @@ -1500,7 +1498,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts Semantic diagnostics in builder refreshed for:: @@ -1518,7 +1516,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts Semantic diagnostics in builder refreshed for:: @@ -1536,7 +1534,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg4/index.ts Semantic diagnostics in builder refreshed for:: @@ -1554,7 +1552,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg5/index.ts Semantic diagnostics in builder refreshed for:: @@ -1618,16 +1616,16 @@ const someConst4 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1656,7 +1654,7 @@ const someConst4 = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 933 + "size": 921 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -1680,7 +1678,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts Semantic diagnostics in builder refreshed for:: @@ -1732,7 +1730,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg6/index.ts Semantic diagnostics in builder refreshed for:: @@ -1750,7 +1748,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dbb664ca3c8ea..b64748f53877c 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -80,8 +80,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/shared/index.js] /*@before/user/username/projects/myproject/shared/tsconfig.json*/ export function f1() { } @@ -106,16 +104,16 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -146,7 +144,7 @@ export declare function f2(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 942 + "size": 930 } //// [/user/username/projects/myproject/webpack/index.js] @@ -173,16 +171,16 @@ export declare function f22(): void; //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -213,7 +211,7 @@ export declare function f22(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 949 + "size": 937 } @@ -245,15 +243,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/shared/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/shared/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/shared/index.ts (used version) Program root files: [ @@ -266,15 +264,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/webpack/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/webpack/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/webpack/index.ts (used version) exitCode:: ExitStatus.undefined @@ -335,16 +333,16 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -373,7 +371,7 @@ export declare function f2(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1011 + "size": 999 } @@ -409,7 +407,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/shared/index.ts Semantic diagnostics in builder refreshed for:: @@ -428,7 +426,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9b0b7a3d7b55f..d8e3d282007da 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -98,8 +98,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/reexport/out/pure/session.js] export {}; @@ -119,12 +117,12 @@ export * from "./session"; //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../src/pure/session.ts", "../../src/pure/index.ts" ], @@ -134,7 +132,7 @@ export * from "./session"; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -178,7 +176,7 @@ export * from "./session"; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 989 + "size": 977 } //// [/user/username/projects/reexport/out/main/index.js] @@ -238,17 +236,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -264,19 +262,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -322,12 +320,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.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"} +{"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"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../src/pure/session.ts", "../../src/pure/index.ts" ], @@ -337,7 +335,7 @@ export interface Session { ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -377,7 +375,7 @@ export interface Session { }, "latestChangedDtsFile": "./session.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 887 } @@ -440,7 +438,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/reexport/src/pure/session.ts /user/username/projects/reexport/src/pure/index.ts @@ -464,7 +462,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -519,12 +517,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.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"} +{"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"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../src/pure/session.ts", "../../src/pure/index.ts" ], @@ -534,7 +532,7 @@ export interface Session { ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -578,7 +576,7 @@ export interface Session { }, "latestChangedDtsFile": "./session.d.ts", "version": "FakeTSVersion", - "size": 991 + "size": 979 } @@ -630,7 +628,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/reexport/src/pure/session.ts /user/username/projects/reexport/src/pure/index.ts @@ -654,7 +652,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2c1d6277a0ce3..96c0f43e3a6cf 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -127,8 +127,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +145,6 @@ 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] export function log(str) { console.log(str); @@ -178,18 +176,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -242,7 +240,7 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1158 + "size": 1146 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] @@ -255,12 +253,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -275,7 +273,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -363,7 +361,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -385,7 +383,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1345 } @@ -427,19 +425,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -469,7 +467,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -478,7 +476,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -519,8 +517,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -542,18 +540,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -606,7 +604,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -640,8 +638,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -659,12 +657,12 @@ projects/server/src/server.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../../shared/dist/src/random.d.ts", @@ -679,7 +677,7 @@ projects/server/src/server.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -767,7 +765,7 @@ projects/server/src/server.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -789,7 +787,7 @@ projects/server/src/server.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1388 + "size": 1376 } @@ -810,7 +808,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -846,7 +844,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -887,8 +885,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -896,17 +894,17 @@ projects/shared/src/myClass.ts //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -948,7 +946,7 @@ projects/shared/src/myClass.ts }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1001 } @@ -1006,8 +1004,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -1022,12 +1020,12 @@ projects/server/src/server.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/logging.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", @@ -1040,7 +1038,7 @@ projects/server/src/server.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -1113,7 +1111,7 @@ projects/server/src/server.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1131,7 +1129,7 @@ projects/server/src/server.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1240 + "size": 1228 } @@ -1151,7 +1149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts @@ -1183,7 +1181,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3b336b924c4a7..c0f43b9ff00ae 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -127,8 +127,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +145,6 @@ 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] export function log(str) { console.log(str); @@ -178,18 +176,18 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -242,7 +240,7 @@ export declare function randomFn(str: string): void; }, "latestChangedDtsFile": "./src/random.d.ts", "version": "FakeTSVersion", - "size": 1158 + "size": 1146 } //// [/home/src/workspaces/solution/projects/server/dist/server/src/server.js] @@ -255,12 +253,12 @@ export {}; //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -275,7 +273,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -363,7 +361,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -385,7 +383,7 @@ export {}; ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1357 + "size": 1345 } @@ -427,19 +425,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -469,7 +467,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -478,7 +476,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -519,8 +517,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -542,18 +540,18 @@ export declare const x = 10; //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts", "../src/random.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -606,7 +604,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -640,8 +638,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -659,12 +657,12 @@ projects/shared/dist/src/random.d.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -679,7 +677,7 @@ projects/shared/dist/src/random.d.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -767,7 +765,7 @@ projects/shared/dist/src/random.d.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -789,7 +787,7 @@ projects/shared/dist/src/random.d.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1388 + "size": 1376 } @@ -810,7 +808,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -846,7 +844,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -887,8 +885,8 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/solution/projects/shared/tsconfig.json'... -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -896,17 +894,17 @@ projects/shared/src/myClass.ts //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../tslibs/ts/lib/lib.d.ts", "../src/logging.ts", "../src/myclass.ts" ], "fileInfos": { - "../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../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 @@ -948,7 +946,7 @@ projects/shared/src/myClass.ts }, "latestChangedDtsFile": "./src/logging.d.ts", "version": "FakeTSVersion", - "size": 1013 + "size": 1001 } @@ -1006,8 +1004,8 @@ File '/home/src/workspaces/solution/projects/shared/src/myClass.ts' exists - use 4 "baseUrl": "./src",    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -1022,12 +1020,12 @@ projects/shared/dist/src/logging.d.ts //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/solution/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "../../../shared/dist/src/myclass.d.ts", "../../src/server.ts", "../../../shared/dist/src/logging.d.ts", @@ -1040,7 +1038,7 @@ projects/shared/dist/src/logging.d.ts ] ], "fileInfos": { - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../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 @@ -1113,7 +1111,7 @@ projects/shared/dist/src/logging.d.ts }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1131,7 +1129,7 @@ projects/shared/dist/src/logging.d.ts ], "latestChangedDtsFile": "./src/server.d.ts", "version": "FakeTSVersion", - "size": 1240 + "size": 1228 } @@ -1151,7 +1149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/solution/projects/shared/src/logging.ts /home/src/workspaces/solution/projects/shared/src/myClass.ts @@ -1183,7 +1181,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6deec0ba03e26..ab370ac6214cf 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,8 +126,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/pkg0/index.js] export const pkg0 = 0; @@ -240,17 +238,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg0/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -265,17 +263,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg1/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -290,17 +288,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg2/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -315,17 +313,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/pkg3/index.ts (used version) /user/username/projects/myproject/typings/xterm.d.ts (used version) @@ -415,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -436,7 +434,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -457,7 +455,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg2/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -478,7 +476,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg3/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -642,7 +640,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg0/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -663,7 +661,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/pkg1/index.ts /user/username/projects/myproject/typings/xterm.d.ts @@ -684,7 +682,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cce1a2cc45eba..30215a79faa8c 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js @@ -43,8 +43,6 @@ 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] export var C = class CReal { d = 1; @@ -95,12 +93,12 @@ export declare class D { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -115,7 +113,7 @@ export declare class D { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -183,7 +181,7 @@ export declare class D { ] }, "version": "FakeTSVersion", - "size": 1294 + "size": 1282 } @@ -200,21 +198,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -237,12 +235,12 @@ Operation ws cancelled:: true //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -257,7 +255,7 @@ Operation ws cancelled:: true ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -328,7 +326,7 @@ Operation ws cancelled:: true "./c.ts" ], "version": "FakeTSVersion", - "size": 1339 + "size": 1327 } @@ -345,7 +343,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -382,12 +380,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -402,7 +400,7 @@ export declare function foo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -470,7 +468,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 1356 + "size": 1344 } @@ -487,7 +485,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -533,21 +531,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 528f61e078dd4..4161ae8f824d3 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js @@ -43,8 +43,6 @@ 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] export var C = class CReal { d = 1; @@ -95,12 +93,12 @@ export declare class D { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -115,7 +113,7 @@ export declare class D { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -183,7 +181,7 @@ export declare class D { ] }, "version": "FakeTSVersion", - "size": 1294 + "size": 1282 } @@ -200,21 +198,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -237,12 +235,12 @@ Operation ws cancelled:: true //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -257,7 +255,7 @@ Operation ws cancelled:: true ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -328,7 +326,7 @@ Operation ws cancelled:: true "./c.ts" ], "version": "FakeTSVersion", - "size": 1339 + "size": 1327 } @@ -345,7 +343,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -382,12 +380,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts", @@ -402,7 +400,7 @@ export declare function foo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -470,7 +468,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 1356 + "size": 1344 } @@ -487,7 +485,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -533,21 +531,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 88e58e22c7623..027135632c6e2 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -117,7 +116,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs 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 b932a9b066066..8c1c2cd872803 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -117,7 +116,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs 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 b932a9b066066..8c1c2cd872803 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -117,7 +116,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs diff --git a/tests/baselines/reference/tsc/commandLine/help-all.js b/tests/baselines/reference/tsc/commandLine/help-all.js index a88ff54eef08e..4260b58ce3c5d 100644 --- a/tests/baselines/reference/tsc/commandLine/help-all.js +++ b/tests/baselines/reference/tsc/commandLine/help-all.js @@ -577,7 +577,7 @@ default: react --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --libReplacement @@ -603,7 +603,6 @@ default: `React` --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -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 251e3f7a62899..d603a04a7f0ab 100644 --- a/tests/baselines/reference/tsc/commandLine/help.js +++ b/tests/baselines/reference/tsc/commandLine/help.js @@ -107,7 +107,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -116,7 +115,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs 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 88e58e22c7623..027135632c6e2 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -117,7 +116,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs 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 88e58e22c7623..027135632c6e2 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -117,7 +116,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs diff --git a/tests/baselines/reference/tsc/composite/converting-to-modules.js b/tests/baselines/reference/tsc/composite/converting-to-modules.js index 876ec2c6ad478..c7b95cfbd0a84 100644 --- a/tests/baselines/reference/tsc/composite/converting-to-modules.js +++ b/tests/baselines/reference/tsc/composite/converting-to-modules.js @@ -38,8 +38,6 @@ 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] const x = 10; @@ -49,16 +47,16 @@ declare const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -90,7 +88,7 @@ declare const x = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -100,7 +98,7 @@ declare const x = 10; ], "latestChangedDtsFile": "./src/main.d.ts", "version": "FakeTSVersion", - "size": 795 + "size": 783 } @@ -124,16 +122,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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -165,7 +163,7 @@ Output:: }, "latestChangedDtsFile": "./src/main.d.ts", "version": "FakeTSVersion", - "size": 760 + "size": 748 } 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 0fc6dadac787e..3a1a54dbeb793 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,8 +53,6 @@ Found 1 error in src/main.tsx:1 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -68,12 +66,12 @@ export default _default; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/solid-js/jsx-runtime.d.ts", "./src/main.tsx" ], @@ -83,7 +81,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -156,7 +154,7 @@ export default _default; ], "latestChangedDtsFile": "./src/main.d.ts", "version": "FakeTSVersion", - "size": 1471 + "size": 1459 } 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 2a565e806ac91..340104c44682c 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,8 +44,6 @@ declare const console: { log(msg: any): void; }; Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/src/main.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -58,12 +56,12 @@ export default _default; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/solid-js/jsx-runtime.d.ts", "./src/main.ts" ], @@ -73,7 +71,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -123,7 +121,7 @@ export default _default; }, "latestChangedDtsFile": "./src/main.d.ts", "version": "FakeTSVersion", - "size": 1051 + "size": 1039 } 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 836fe08d9347d..64e5f22d2c48a 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,20 +74,18 @@ Found 1 error in index.ts:2 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/index.js] import ky from 'ky'; export const api = ky.extend({}); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/ky/distribution/index.d.ts", "./index.ts" ], @@ -97,7 +95,7 @@ export const api = ky.extend({}); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -162,7 +160,7 @@ export const api = ky.extend({}); "./index.ts" ], "version": "FakeTSVersion", - "size": 1324 + "size": 1312 } @@ -179,8 +177,8 @@ Output:: 2 export const api = ky.extend({});    ~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 +211,8 @@ Output:: 2 export const api = ky.extend({});    ~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 13456d9704fc8..c749acbb9af65 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +72,6 @@ Found 1 error in index.ts:2 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/index.js] import ky from 'ky'; export const api = ky.extend({}); @@ -94,8 +92,8 @@ Output::    ~~~ TSFILE: /home/src/workspaces/project/index.js -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 +129,8 @@ Output:: TSFILE: /home/src/workspaces/project/index.js TSFILE: /home/src/workspaces/project/tsconfig.tsbuildinfo -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 6d9483640e2a1..3035ad05d445d 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -76,8 +76,6 @@ 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 }; @@ -92,17 +90,17 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky //// [/home/src/workspaces/project/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./ky.d.ts", "./src/index.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" }, @@ -121,7 +119,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -148,7 +146,7 @@ define("src/index", ["require", "exports", "ky"], function (require, exports, ky ] ], "version": "FakeTSVersion", - "size": 1141 + "size": 1129 } @@ -175,8 +173,8 @@ Output:: 8 "outFile": "./outFile.js"    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -220,8 +218,8 @@ Output:: 8 "outFile": "./outFile.js"    ~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 8536f837e4037..970f547b086a4 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -80,8 +80,6 @@ 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 }; @@ -126,8 +124,8 @@ Output::    ~~~~~~~~~ TSFILE: /home/src/workspaces/project/outFile.js -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ky.d.ts Imported via 'ky' from file 'src/index.ts' src/index.ts @@ -180,8 +178,8 @@ Output:: TSFILE: /home/src/workspaces/project/outFile.js TSFILE: /home/src/workspaces/project/outFile.tsbuildinfo -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 76a4ded21fbce..2384d0d1e21ee 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js +++ b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js @@ -138,8 +138,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -153,8 +153,6 @@ 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] export const x = 10; diff --git a/tests/baselines/reference/tsc/extends/configDir-template.js b/tests/baselines/reference/tsc/extends/configDir-template.js index 87dc85ca8d4ae..4bf873d4fb68d 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template.js +++ b/tests/baselines/reference/tsc/extends/configDir-template.js @@ -138,8 +138,8 @@ Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/inde 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -153,8 +153,6 @@ 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] export const x = 10; 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 37eb329c48fa2..9e783b13c97db 100644 --- a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js @@ -46,8 +46,6 @@ 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] export const x = 10; @@ -57,16 +55,16 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -96,7 +94,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 790 + "size": 778 } 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 2f3ad4cbd926f..ca2d99ae07b4c 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +309,6 @@ 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] 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 2a0bdde9ab6d0..bca8e67f39972 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,7 +68,5 @@ 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 7fccbf40bfe58..e60b9b6fd99e1 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/fileOne.d.ts Type library referenced via './fileOne.d.ts' from file 'src/file2.d.ts' Matched by default include pattern '**/*' @@ -50,7 +50,5 @@ 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 1397239eb9293..30ccf12fe2667 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,8 +28,6 @@ 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] 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 887133bd5705c..8e3c08aae45a3 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,8 +28,6 @@ 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] 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 04a3eb7b3135b..4493a3090ba6e 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-files-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-files-with---ignoreConfig.js @@ -35,8 +35,6 @@ 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] 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 137221ccb9abf..24f8e972ca701 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-project-with---ignoreConfig.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-project-with---ignoreConfig.js @@ -35,8 +35,6 @@ 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] export const a = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js b/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js index 4947e898ef67b..8f1e095d04632 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js +++ b/tests/baselines/reference/tsc/ignoreConfig/specifying-project.js @@ -35,8 +35,6 @@ 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] export const a = 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 0c440bf49cf2d..f0481ad9e3b90 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -126,7 +125,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs 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 ba9716f04b7cd..b2871818e1b69 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,6 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. one of: es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext -default: es2024 --module, -m Specify what module code is generated. @@ -126,7 +125,7 @@ default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, esnext.typedarrays, esnext.error, esnext.sharedmemory, decorators, decorators.legacy +one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, es2025, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, es2025.collection/esnext.collection, es2025.float16/esnext.float16, es2025.intl, es2025.iterator/esnext.iterator, es2025.promise/esnext.promise, es2025.regexp, esnext.array, esnext.decorators, esnext.disposable, esnext.error, esnext.intl, esnext.sharedmemory, esnext.typedarrays, decorators, decorators.legacy default: undefined --allowJs 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 d33543d15e705..bd139e959581d 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,8 +35,6 @@ 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] export const a = 10; diff --git a/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js b/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js index d7c22bd5dbdc9..2a107b23a11a0 100644 --- a/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js +++ b/tests/baselines/reference/tsc/ignoreConfig/without-any-options.js @@ -35,8 +35,6 @@ 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] export const a = 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 b3467c95436ef..9bef6903eb6b7 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,22 +41,7 @@ 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] const Messageable = () => { @@ -90,12 +75,12 @@ export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -105,13 +90,13 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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;", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -149,33 +134,12 @@ 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": 1602 + "size": 1579 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: no-change-run @@ -183,23 +147,10 @@ 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.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: modify public to protected @@ -217,6 +168,11 @@ 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(); @@ -227,31 +183,24 @@ 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'. -7 type MessageablePerson = InstanceType>; -   ~~~~~~~~~~ - - -Found 3 errors in the same file, starting at: MessageablePerson.ts:6 +Found 2 errors in 2 files. +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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -261,13 +210,13 @@ Found 3 errors in the same file, starting at: MessageablePerson.ts:6 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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;", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -307,21 +256,14 @@ Found 3 errors in the same file, starting at: MessageablePerson.ts:6 }, "semanticDiagnosticsPerFile": [ [ - "./messageableperson.ts", + "./main.ts", [ { - "start": 172, - "length": 12, - "messageText": "Cannot find name 'InstanceType'.", - "category": 1, - "code": 2304 - }, - { - "start": 185, - "length": 10, - "messageText": "Cannot find name 'ReturnType'.", + "start": 131, + "length": 7, + "messageText": "Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.", "category": 1, - "code": 2304 + "code": 2445 } ] ] @@ -350,7 +292,7 @@ Found 3 errors in the same file, starting at: MessageablePerson.ts:6 ] ], "version": "FakeTSVersion", - "size": 2025 + "size": 2209 } @@ -362,6 +304,11 @@ 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(); @@ -372,19 +319,12 @@ 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'. - -7 type MessageablePerson = InstanceType>; -   ~~~~~~~~~~ - -Found 3 errors in the same file, starting at: MessageablePerson.ts:6 +Found 2 errors in 2 files. +Errors Files + 1 main.ts:3 + 1 MessageablePerson.ts:6 @@ -406,19 +346,6 @@ 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 @@ -426,12 +353,12 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 //// [/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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -441,13 +368,13 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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;", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -485,33 +412,12 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 "./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": 1602 + "size": 1579 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: no-change-run @@ -519,20 +425,7 @@ 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.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success 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 54296d0284e6e..c692c67c727fc 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,23 +41,8 @@ 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] const Messageable = () => { return class MessageableClass { @@ -76,12 +61,12 @@ export {}; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -91,13 +76,13 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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;", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -127,33 +112,12 @@ 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": 1324 + "size": 1301 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: no-change-run @@ -161,23 +125,10 @@ 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.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: modify public to protected @@ -195,30 +146,25 @@ export default MessageablePerson; /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: -MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. +main.ts:3:25 - error TS2445: Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses. -7 type MessageablePerson = InstanceType>; -   ~~~~~~~~~~~~ +3 console.log( person.message ); +   ~~~~~~~ -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 +Found 1 error in main.ts:3 //// [/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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -228,13 +174,13 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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;", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -274,27 +220,20 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 }, "semanticDiagnosticsPerFile": [ [ - "./messageableperson.ts", + "./main.ts", [ { - "start": 172, - "length": 12, - "messageText": "Cannot find name 'InstanceType'.", + "start": 131, + "length": 7, + "messageText": "Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.", "category": 1, - "code": 2304 - }, - { - "start": 185, - "length": 10, - "messageText": "Cannot find name 'ReturnType'.", - "category": 1, - "code": 2304 + "code": 2445 } ] ] ], "version": "FakeTSVersion", - "size": 1706 + "size": 1890 } @@ -306,18 +245,13 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental Output:: -MessageablePerson.ts:7:26 - error TS2304: Cannot find name 'InstanceType'. - -7 type MessageablePerson = InstanceType>; -   ~~~~~~~~~~~~ +main.ts:3:25 - error TS2445: Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses. -MessageablePerson.ts:7:39 - error TS2304: Cannot find name 'ReturnType'. +3 console.log( person.message ); +   ~~~~~~~ -7 type MessageablePerson = InstanceType>; -   ~~~~~~~~~~ - -Found 2 errors in the same file, starting at: MessageablePerson.ts:7 +Found 1 error in main.ts:3 @@ -340,30 +274,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./messageableperson.ts", "./main.ts" ], @@ -373,13 +294,13 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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;", "affectsGlobalScope": true }, "./messageableperson.ts": { @@ -417,33 +338,12 @@ Found 2 errors in the same file, starting at: MessageablePerson.ts:7 "./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": 1603 + "size": 1580 } -exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success Change:: no-change-run @@ -451,20 +351,7 @@ 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.DiagnosticsPresent_OutputsGenerated +exitCode:: ExitStatus.Success 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 3fb7532c385e7..ccca3feb788a7 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,6 @@ 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] const a = 1; console.log(a); @@ -68,12 +66,12 @@ export { default as ConstantNumber } from "./constants"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./class1.ts", "./constants.ts", "./reexport.ts", @@ -88,7 +86,7 @@ export { default as ConstantNumber } from "./constants"; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -160,7 +158,7 @@ export { default as ConstantNumber } from "./constants"; }, "latestChangedDtsFile": "./reexport.d.ts", "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } @@ -200,12 +198,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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./class1.ts", "./constants.ts", "./reexport.ts", @@ -220,7 +218,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -306,7 +304,7 @@ export default _default; ], "latestChangedDtsFile": "./class1.d.ts", "version": "FakeTSVersion", - "size": 1430 + "size": 1418 } 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 ee0c6bd42970c..e2698925dfcc8 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,6 @@ 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] const a = 1; console.log(a); @@ -57,12 +55,12 @@ export default _default; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./class1.ts", "./constants.ts", "./types.d.ts" @@ -73,7 +71,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -133,7 +131,7 @@ export default _default; }, "latestChangedDtsFile": "./constants.d.ts", "version": "FakeTSVersion", - "size": 1088 + "size": 1076 } @@ -172,12 +170,12 @@ export default _default; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./class1.ts", "./constants.ts", "./types.d.ts" @@ -188,7 +186,7 @@ export default _default; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -262,7 +260,7 @@ export default _default; ], "latestChangedDtsFile": "./class1.d.ts", "version": "FakeTSVersion", - "size": 1228 + "size": 1216 } diff --git a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js index 336e1f14683db..f80b36cdd9b7c 100644 --- a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js +++ b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js @@ -64,8 +64,6 @@ 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] export {}; @@ -115,12 +113,12 @@ import * as W from "./wrap.js"; //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/box.ts", "../src/wrap.ts", "../src/bug.js" @@ -132,7 +130,7 @@ import * as W from "./wrap.js"; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -192,7 +190,7 @@ import * as W from "./wrap.js"; }, "latestChangedDtsFile": "./src/bug.d.ts", "version": "FakeTSVersion", - "size": 1605 + "size": 1593 } @@ -256,12 +254,12 @@ import * as W from "./wrap.js"; //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/box.ts", "../src/wrap.ts", "../src/bug.js" @@ -273,7 +271,7 @@ import * as W from "./wrap.js"; ] ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -333,7 +331,7 @@ import * as W from "./wrap.js"; }, "latestChangedDtsFile": "./src/bug.d.ts", "version": "FakeTSVersion", - "size": 1660 + "size": 1648 } 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 ebb3f9bd22947..10a80338092bd 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 c32c8308cf3ce..6958d0133182f 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 604dd0ca5d852..51303eb059c21 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,8 +38,6 @@ 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] export const a = 10; const aLocal = 10; @@ -61,12 +59,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -81,7 +79,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -130,7 +128,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 869 + "size": 857 } @@ -146,21 +144,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -197,12 +195,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -217,7 +215,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -269,7 +267,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 898 + "size": 886 } //// [/home/src/workspaces/project/a.js.map] @@ -298,7 +296,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -339,12 +337,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -359,7 +357,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -408,7 +406,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 869 + "size": 857 } @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -445,12 +443,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -465,7 +463,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -533,7 +531,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1176 + "size": 1164 } //// [/home/src/workspaces/project/a.d.ts] @@ -566,7 +564,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -587,12 +585,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -607,7 +605,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -676,7 +674,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1198 + "size": 1186 } //// [/home/src/workspaces/project/a.d.ts] @@ -722,7 +720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -755,7 +753,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -784,12 +782,12 @@ const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -804,7 +802,7 @@ const aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -869,7 +867,7 @@ const aLocal = 100; ] }, "version": "FakeTSVersion", - "size": 1146 + "size": 1134 } @@ -885,7 +883,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -908,12 +906,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -928,7 +926,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -997,7 +995,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1199 + "size": 1187 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1023,7 +1021,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1056,7 +1054,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1097,12 +1095,12 @@ export const d = b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1117,7 +1115,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1185,7 +1183,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 1181 + "size": 1169 } @@ -1202,7 +1200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1243,12 +1241,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1263,7 +1261,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1331,7 +1329,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 1175 + "size": 1163 } //// [/home/src/workspaces/project/a.js.map] @@ -1354,7 +1352,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1395,12 +1393,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1415,7 +1413,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1480,7 +1478,7 @@ export const d = b; ] }, "version": "FakeTSVersion", - "size": 1146 + "size": 1134 } @@ -1496,7 +1494,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1517,12 +1515,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1537,7 +1535,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1606,7 +1604,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1199 + "size": 1187 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1632,7 +1630,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1667,7 +1665,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d32a367bc6d46..621cf833dc1a2 100644 --- a/tests/baselines/reference/tsc/incremental/multiFile/different-options.js +++ b/tests/baselines/reference/tsc/incremental/multiFile/different-options.js @@ -38,8 +38,6 @@ 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] export const a = 10; const aLocal = 10; @@ -77,12 +75,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -97,7 +95,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -166,7 +164,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -182,21 +180,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -233,12 +231,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -253,7 +251,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -323,7 +321,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1225 + "size": 1213 } //// [/home/src/workspaces/project/a.js.map] @@ -352,7 +350,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -393,12 +391,12 @@ export const d = b; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -413,7 +411,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -482,7 +480,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -498,7 +496,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -532,7 +530,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -565,7 +563,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -602,12 +600,12 @@ export declare const d = 10; //# sourceMappingURL=d.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -622,7 +620,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -693,7 +691,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1249 + "size": 1237 } //// [/home/src/workspaces/project/a.d.ts.map] @@ -723,7 +721,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -760,12 +758,12 @@ export declare const d = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -780,7 +778,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -849,7 +847,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -865,7 +863,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -899,7 +897,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -932,7 +930,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -961,12 +959,12 @@ const aLocal = 100; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -981,7 +979,7 @@ const aLocal = 100; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1050,7 +1048,7 @@ const aLocal = 100; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1209 + "size": 1197 } @@ -1066,7 +1064,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1102,7 +1100,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1143,12 +1141,12 @@ export const d = b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUFBLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMifQ== //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1163,7 +1161,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1233,7 +1231,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1232 + "size": 1220 } @@ -1250,7 +1248,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1291,12 +1289,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1311,7 +1309,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1381,7 +1379,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1226 + "size": 1214 } //// [/home/src/workspaces/project/a.js.map] @@ -1404,7 +1402,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1469,12 +1467,12 @@ export declare const d = 10; //# sourceMappingURL=d.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1489,7 +1487,7 @@ export declare const d = 10; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1559,7 +1557,7 @@ export declare const d = 10; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1231 + "size": 1219 } //// [/home/src/workspaces/project/a.d.ts.map] file written with same contents @@ -1580,7 +1578,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1621,12 +1619,12 @@ export const d = b; //# sourceMappingURL=d.js.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -1641,7 +1639,7 @@ export const d = b; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1712,7 +1710,7 @@ export const d = b; }, "latestChangedDtsFile": "./d.d.ts", "version": "FakeTSVersion", - "size": 1248 + "size": 1236 } //// [/home/src/workspaces/project/a.js.map] file written with same contents @@ -1734,7 +1732,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79d56fa906ff8..0150b50b7cb26 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 f9ad7e748273b..b095f92cef9e5 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 16df9671290c7..1f05360396204 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,8 +53,6 @@ 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,19 +83,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -123,7 +121,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -144,7 +142,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 895 + "size": 883 } @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -225,19 +223,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -264,7 +262,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -285,7 +283,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 912 + "size": 900 } //// [/home/src/workspaces/outFile.js.map] @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -370,19 +368,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -408,7 +406,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -429,7 +427,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 895 + "size": 883 } @@ -447,7 +445,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -481,19 +479,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -520,7 +518,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -541,7 +539,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 914 + "size": 902 } //// [/home/src/workspaces/outFile.d.ts] @@ -575,7 +573,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -609,19 +607,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -649,7 +647,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -670,7 +668,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 936 + "size": 924 } //// [/home/src/workspaces/outFile.d.ts] @@ -708,7 +706,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -756,7 +754,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -822,19 +820,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -860,7 +858,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -881,7 +879,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 896 + "size": 884 } @@ -899,7 +897,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -933,19 +931,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -973,7 +971,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -994,7 +992,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 937 + "size": 925 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1016,7 +1014,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1064,7 +1062,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1127,19 +1125,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1166,7 +1164,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1187,7 +1185,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 919 + "size": 907 } @@ -1206,7 +1204,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1269,19 +1267,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1308,7 +1306,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1329,7 +1327,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 913 + "size": 901 } //// [/home/src/workspaces/outFile.js.map] @@ -1351,7 +1349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1414,19 +1412,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1452,7 +1450,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1473,7 +1471,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { ] ], "version": "FakeTSVersion", - "size": 896 + "size": 884 } @@ -1491,7 +1489,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1525,19 +1523,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1565,7 +1563,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1586,7 +1584,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 937 + "size": 925 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1608,7 +1606,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1658,7 +1656,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3370d69d3da4c..84651981b854c 100644 --- a/tests/baselines/reference/tsc/incremental/outFile/different-options.js +++ b/tests/baselines/reference/tsc/incremental/outFile/different-options.js @@ -53,8 +53,6 @@ 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"; @@ -100,19 +98,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -139,7 +137,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -162,7 +160,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": 1195 + "size": 1183 } @@ -180,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -243,19 +241,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -283,7 +281,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -306,7 +304,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": 1212 + "size": 1200 } //// [/home/src/workspaces/outFile.js.map] @@ -328,7 +326,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -391,19 +389,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -430,7 +428,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -453,7 +451,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": 1195 + "size": 1183 } @@ -471,7 +469,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -520,7 +518,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -568,7 +566,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -617,19 +615,19 @@ declare module "d" { //# sourceMappingURL=outFile.d.ts.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -658,7 +656,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -681,7 +679,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": 1236 + "size": 1224 } //// [/home/src/workspaces/outFile.d.ts.map] @@ -704,7 +702,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -753,19 +751,19 @@ declare module "d" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -792,7 +790,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -815,7 +813,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": 1195 + "size": 1183 } @@ -833,7 +831,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -882,7 +880,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -930,7 +928,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -996,19 +994,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1035,7 +1033,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1058,7 +1056,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": 1196 + "size": 1184 } @@ -1076,7 +1074,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1125,7 +1123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1188,19 +1186,19 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsTUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1228,7 +1226,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1251,7 +1249,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": 1219 + "size": 1207 } @@ -1270,7 +1268,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1333,19 +1331,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1373,7 +1371,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1396,7 +1394,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": 1213 + "size": 1201 } //// [/home/src/workspaces/outFile.js.map] @@ -1418,7 +1416,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1506,19 +1504,19 @@ declare module "d" { //# sourceMappingURL=outFile.d.ts.map //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1546,7 +1544,7 @@ declare module "d" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1569,7 +1567,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": 1218 + "size": 1206 } //// [/home/src/workspaces/outFile.d.ts.map] file written with same contents @@ -1589,7 +1587,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1652,19 +1650,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;", @@ -1693,7 +1691,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1716,7 +1714,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": 1235 + "size": 1223 } //// [/home/src/workspaces/outFile.js.map] file written with same contents @@ -1737,7 +1735,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e1914db5fa756..21b8098ed154f 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,8 +57,6 @@ 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 }); @@ -69,17 +67,17 @@ exports.App = App; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/index.tsx", "./node_modules/@types/react/index.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -131,7 +129,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1291 + "size": 1279 } 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 f16bab0166a3a..d1354f59c2306 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,8 +49,6 @@ 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 }); @@ -61,17 +59,17 @@ exports.App = App; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/index.tsx", "./node_modules/@types/react/index.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -108,7 +106,7 @@ exports.App = App; "module": 1 }, "version": "FakeTSVersion", - "size": 1013 + "size": 1001 } diff --git a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js index 01d6e8f2c4322..cd78877d946f5 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. - 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'. + This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided. 10 (    ~~~~~~~~~ -Found 2 errors in the same file, starting at: index.tsx:10 +Found 3 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 2 errors in the same file, starting at: index.tsx:10 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./index.tsx" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", + "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": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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": "-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 }", "affectsGlobalScope": true }, "./index.tsx": { @@ -124,6 +124,13 @@ Found 2 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, @@ -140,34 +147,9 @@ Found 2 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." }, { - "messageText": "Overload 2 of 2, '(props: { children?: number | undefined; }): any', gave the following error.", + "code": 2746, "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; }'." - } - } - ] - } - ] - } - ] + "messageText": "This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided." } ] }, @@ -177,7 +159,7 @@ Found 2 errors in the same file, starting at: index.tsx:10 ] ], "version": "FakeTSVersion", - "size": 2139 + "size": 1914 } @@ -194,19 +176,21 @@ 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. - 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'. + This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided. 10 (    ~~~~~~~~~ -Found 2 errors in the same file, starting at: index.tsx:10 +Found 3 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 0fd94adbd4cc5..6f96950bef5e2 100644 --- a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js @@ -29,9 +29,7 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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* +{"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"} //// [/home/src/workspaces/project/main.js] export const x = 10; @@ -40,11 +38,11 @@ export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -65,7 +63,7 @@ export const x = 10; ] ], "version": "FakeTSVersion", - "size": 596 + "size": 584 } @@ -75,7 +73,7 @@ Change:: tsbuildinfo written has error Input:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -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"} +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"} /home/src/tslibs/TS/Lib/tsc.js -i @@ -83,7 +81,7 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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 efe7752857bb7..e2304d187d598 100644 --- a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js +++ b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js @@ -33,8 +33,6 @@ 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] export class C { } @@ -56,17 +54,17 @@ export declare class D { //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../file1.ts", "../file2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -108,7 +106,7 @@ export declare class D { }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 865 + "size": 853 } @@ -124,16 +122,16 @@ Output:: //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../file1.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -163,7 +161,7 @@ Output:: }, "latestChangedDtsFile": "./file2.d.ts", "version": "FakeTSVersion", - "size": 748 + "size": 736 } 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 cc6fae17f01de..293cb9813c157 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,8 +60,6 @@ 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; } @@ -91,12 +89,12 @@ declare function main(): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/main.ts", @@ -109,7 +107,7 @@ declare function main(): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -178,7 +176,7 @@ declare function main(): void; "latestChangedDtsFile": "./src/main.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1441 + "size": 1429 } @@ -193,19 +191,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -248,7 +246,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts @@ -297,12 +295,12 @@ something(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/main.ts", @@ -315,7 +313,7 @@ something(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -384,7 +382,7 @@ something(); "latestChangedDtsFile": "./src/main.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1453 + "size": 1441 } @@ -399,7 +397,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts @@ -451,12 +449,12 @@ something(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/main.ts", @@ -469,7 +467,7 @@ something(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -538,7 +536,7 @@ something(); "latestChangedDtsFile": "./src/main.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1465 + "size": 1453 } @@ -553,7 +551,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/main.ts @@ -613,12 +611,12 @@ foo(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/filepresent.ts", "./src/anotherfilewithsamereferenes.ts", "./src/newfile.ts", @@ -637,7 +635,7 @@ foo(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -718,7 +716,7 @@ foo(); "latestChangedDtsFile": "./src/newFile.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1679 + "size": 1667 } //// [/home/src/workspaces/project/src/newFile.js] @@ -742,14 +740,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts /home/src/workspaces/project/src/newFile.ts @@ -778,12 +776,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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/filepresent.ts", "./src/filenotfound.ts", "./src/anotherfilewithsamereferenes.ts", @@ -802,7 +800,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -893,7 +891,7 @@ Output:: }, "latestChangedDtsFile": "./src/fileNotFound.d.ts", "version": "FakeTSVersion", - "size": 1827 + "size": 1815 } //// [/home/src/workspaces/project/src/newFile.js] file written with same contents @@ -919,7 +917,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/fileNotFound.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts @@ -927,7 +925,7 @@ Program files:: /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/filePresent.ts /home/src/workspaces/project/src/fileNotFound.ts /home/src/workspaces/project/src/anotherFileWithSameReferenes.ts @@ -970,12 +968,12 @@ something(); //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/filepresent.ts", "./src/filenotfound.ts", "./src/anotherfilewithsamereferenes.ts", @@ -994,7 +992,7 @@ something(); ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1085,7 +1083,7 @@ something(); }, "latestChangedDtsFile": "./src/fileNotFound.d.ts", "version": "FakeTSVersion", - "size": 1838 + "size": 1826 } @@ -1102,7 +1100,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 805109f15b698..a437e49e4540c 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,8 +60,6 @@ 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] class class2 { } @@ -73,17 +71,17 @@ declare class class2 { //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -124,7 +122,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -138,7 +136,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 903 + "size": 891 } @@ -200,18 +198,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.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"} +{"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"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -261,7 +259,7 @@ Found 1 error in project2/tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -279,7 +277,7 @@ Found 1 error in project2/tsconfig.json:3 ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1007 + "size": 995 } @@ -339,17 +337,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.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"} +{"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"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -390,7 +388,7 @@ Found 2 errors in the same file, starting at: project2/tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -404,7 +402,7 @@ Found 2 errors in the same file, starting at: project2/tsconfig.json:3 ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 903 + "size": 891 } @@ -431,18 +429,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.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"} +{"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"} //// [/home/src/workspaces/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -492,7 +490,7 @@ Found 1 error in project2/tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -510,7 +508,7 @@ Found 1 error in project2/tsconfig.json:3 ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1007 + "size": 995 } 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 d76b3a046ec8a..40cd2dba500cc 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,23 +30,21 @@ 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] export const x = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -71,7 +69,7 @@ export const x = 10; "rootDir": "./src" }, "version": "FakeTSVersion", - "size": 648 + "size": 636 } 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 5f801b6242613..84ecebb6c93d6 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,23 +31,21 @@ 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] export const x = 10; //// [/home/src/workspaces/project/built/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/built/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../src/main.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -72,7 +70,7 @@ export const x = 10; "rootDir": ".." }, "version": "FakeTSVersion", - "size": 645 + "size": 633 } 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 ea1b2e059a275..1b041243f4722 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,8 +43,6 @@ 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] import { A } from "./b"; let b = 1 /* A.ONE */; @@ -57,12 +55,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -76,7 +74,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -117,7 +115,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 914 + "size": 902 } @@ -150,12 +148,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -169,7 +167,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -218,7 +216,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } @@ -251,12 +249,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -270,7 +268,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -315,7 +313,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 996 + "size": 984 } @@ -339,12 +337,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -358,7 +356,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -403,7 +401,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1026 + "size": 1014 } @@ -427,12 +425,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -446,7 +444,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -491,7 +489,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1057 + "size": 1045 } 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 99389b86c04d7..799dbd3d9f111 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js @@ -43,8 +43,6 @@ 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] let b = 1 /* A.ONE */; export {}; @@ -56,12 +54,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -75,7 +73,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -115,7 +113,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 888 + "size": 876 } @@ -147,12 +145,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -214,7 +212,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1021 + "size": 1009 } @@ -246,12 +244,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -265,7 +263,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -309,7 +307,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 970 + "size": 958 } @@ -333,12 +331,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -352,7 +350,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -396,7 +394,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1000 + "size": 988 } @@ -420,12 +418,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -439,7 +437,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -483,7 +481,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1031 + "size": 1019 } 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 18b5cf0edf65a..43b84ff95a027 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,8 +40,6 @@ 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] import { A } from "./b"; let b = 1 /* A.ONE */; @@ -54,12 +52,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -77,7 +75,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -125,7 +123,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } @@ -157,12 +155,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -180,7 +178,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -228,7 +226,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } @@ -260,12 +258,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -283,7 +281,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -331,7 +329,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } @@ -352,12 +350,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -375,7 +373,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -431,7 +429,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1135 + "size": 1123 } @@ -451,12 +449,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -474,7 +472,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -526,7 +524,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1114 + "size": 1102 } 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 93cc73623a1ca..1c14daed9032f 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,8 +40,6 @@ 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] let b = 1 /* A.ONE */; export {}; @@ -53,12 +51,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -76,7 +74,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -123,7 +121,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 947 + "size": 935 } @@ -154,12 +152,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -177,7 +175,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -224,7 +222,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 947 + "size": 935 } @@ -255,12 +253,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -278,7 +276,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -325,7 +323,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 947 + "size": 935 } @@ -346,12 +344,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -369,7 +367,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -424,7 +422,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1109 + "size": 1097 } @@ -444,12 +442,12 @@ Output:: //// [/home/src/workspaces/project/c.js] file written with same contents //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./worker.d.ts", "./b.d.ts", "./c.ts", @@ -467,7 +465,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -518,7 +516,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1088 + "size": 1076 } 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 7319fe922da5b..5b54b2c68b796 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,8 +42,6 @@ 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] import { A } from "./b"; let b = 1 /* A.ONE */; @@ -56,12 +54,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -75,7 +73,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -116,7 +114,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 881 + "size": 869 } @@ -148,12 +146,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -216,7 +214,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1013 + "size": 1001 } @@ -248,12 +246,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -267,7 +265,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -312,7 +310,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 962 + "size": 950 } @@ -335,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -354,7 +352,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -399,7 +397,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 992 + "size": 980 } @@ -422,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -441,7 +439,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -486,7 +484,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1024 + "size": 1012 } diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums.js b/tests/baselines/reference/tsc/incremental/with-const-enums.js index 7711a9834ae53..1b504da5fbe95 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums.js @@ -42,8 +42,6 @@ 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] let b = 1 /* A.ONE */; export {}; @@ -55,12 +53,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -74,7 +72,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -114,7 +112,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 855 + "size": 843 } @@ -145,12 +143,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -212,7 +210,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 987 + "size": 975 } @@ -243,12 +241,12 @@ export {}; //// [/home/src/workspaces/project/a.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -262,7 +260,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -306,7 +304,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 936 + "size": 924 } @@ -329,12 +327,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -348,7 +346,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -392,7 +390,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 966 + "size": 954 } @@ -415,12 +413,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.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"} +{"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"} //// [/home/src/workspaces/project/a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./b.d.ts", "./c.ts", "./a.ts" @@ -434,7 +432,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -478,7 +476,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 998 + "size": 986 } 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 6980b0dddd92a..27a4e2587bdf3 100644 --- a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js +++ b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js @@ -28,20 +28,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/another.d.ts", "./src/main.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -70,7 +68,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 661 + "size": 649 } @@ -99,17 +97,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/another.d.ts", "./src/main.d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -138,7 +136,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 683 + "size": 671 } diff --git a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js index 7f135989f4e4f..180b97805946a 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 ../../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,8 +104,6 @@ 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] export const file = 10; @@ -132,13 +130,13 @@ export declare const x = "type1"; //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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", @@ -146,22 +144,22 @@ export declare const x = "type1"; "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.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 }, - "../../../tslibs/ts/lib/lib.es2024.full.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 }, "./core.d.ts": { @@ -218,7 +216,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1298 + "size": 1286 } @@ -239,8 +237,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 @@ -248,8 +246,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 @@ -257,12 +255,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.scripthost.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.scripthost.d.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js index 53b33e6d70093..0c5a2d9ed9c60 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js @@ -23,12 +23,10 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --incremental --listFilesOnly Output:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/test.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - exitCode:: ExitStatus.Success @@ -45,16 +43,16 @@ export const x = 1; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./test.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -75,7 +73,7 @@ export const x = 1; ] ], "version": "FakeTSVersion", - "size": 595 + "size": 583 } @@ -87,7 +85,7 @@ Input:: /home/src/tslibs/TS/Lib/tsc.js --incremental --listFilesOnly Output:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d104ffd1b2290..f9f1a773b388d 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/loose-file.js +++ b/tests/baselines/reference/tsc/listFilesOnly/loose-file.js @@ -20,11 +20,9 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js test.ts --listFilesOnly Output:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8ae9ff397ecc6..9a3643249b033 100644 --- a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js @@ -343,19 +343,17 @@ Found 1 error in tsconfig.json:2 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/index.mjs] export {}; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/foo2/index.d.ts", "./node_modules/@types/bar2/index.d.ts", "./index.mts" @@ -367,7 +365,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -423,7 +421,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -440,7 +438,7 @@ export {}; ] ], "version": "FakeTSVersion", - "size": 1092 + "size": 1080 } @@ -457,7 +455,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -465,7 +463,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -694,7 +692,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -940,7 +938,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1176,7 +1174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1399,7 +1397,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1579,12 +1577,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../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", @@ -1598,7 +1596,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -1665,7 +1663,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1686,7 +1684,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1252 + "size": 1240 } @@ -1703,7 +1701,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1860,12 +1858,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../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", @@ -1881,7 +1879,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -1958,7 +1956,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1983,7 +1981,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1366 + "size": 1354 } @@ -2000,7 +1998,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2196,12 +2194,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../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", @@ -2215,7 +2213,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -2282,7 +2280,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2303,7 +2301,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1243 + "size": 1231 } @@ -2320,7 +2318,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2544,12 +2542,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./index.mts" @@ -2561,7 +2559,7 @@ Found 1 error in tsconfig.json:2 ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -2618,7 +2616,7 @@ Found 1 error in tsconfig.json:2 }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2635,7 +2633,7 @@ Found 1 error in tsconfig.json:2 ] ], "version": "FakeTSVersion", - "size": 1127 + "size": 1115 } @@ -2652,7 +2650,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2886,7 +2884,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -3132,7 +3130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -3368,7 +3366,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -3591,7 +3589,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fe1a3c9bb549b..1bbce1cabcfa4 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 f1bc35f430895..e500cf3687df7 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,8 +46,6 @@ Found 1 error in a.ts:1 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = class { p = 10; @@ -63,17 +61,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -110,7 +108,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -147,7 +145,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -163,14 +161,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/a.ts (used version) /home/src/workspaces/project/b.ts (computed .d.ts during emit) @@ -210,7 +208,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -236,17 +234,17 @@ export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -287,7 +285,7 @@ export const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -301,7 +299,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } //// [/home/src/workspaces/project/a.d.ts] @@ -321,7 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -372,17 +370,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -422,7 +420,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -437,12 +435,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -470,7 +468,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -501,7 +499,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -542,17 +540,17 @@ export const a = class { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -622,7 +620,7 @@ export const a = class { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1330 + "size": 1318 } @@ -638,7 +636,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -684,7 +682,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -717,17 +715,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -790,7 +788,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1265 } @@ -805,7 +803,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -832,17 +830,17 @@ export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -889,7 +887,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 876 + "size": 864 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -906,7 +904,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -927,17 +925,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -977,7 +975,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -992,7 +990,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1023,18 +1021,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1099,7 +1097,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } //// [/home/src/workspaces/project/c.js] @@ -1123,7 +1121,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1167,18 +1165,18 @@ export const a = class { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1271,7 +1269,7 @@ export const a = class { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1583 + "size": 1571 } @@ -1288,7 +1286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1317,18 +1315,18 @@ export const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1398,7 +1396,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1129 + "size": 1117 } //// [/home/src/workspaces/project/a.d.ts] file written with same contents @@ -1416,7 +1414,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1446,18 +1444,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1522,7 +1520,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } @@ -1538,7 +1536,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1572,7 +1570,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1612,7 +1610,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2f0dd3842a1bd..6724e1c6d9bc5 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/dts-errors.js @@ -45,8 +45,6 @@ Found 1 error in a.ts:1 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = class { p = 10; @@ -73,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -115,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -154,7 +152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -184,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -242,7 +240,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -272,7 +270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -322,7 +320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -364,7 +362,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -405,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -441,7 +439,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -470,7 +468,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -573,7 +571,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -613,7 +611,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -654,7 +652,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -688,7 +686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -729,7 +727,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fe1a3c9bb549b..1bbce1cabcfa4 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 8203ede52f896..91ee77bf69a68 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,8 +33,6 @@ 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] export const a = "hello"; @@ -52,17 +50,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -103,7 +101,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -117,7 +115,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 884 + "size": 872 } @@ -133,14 +131,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -167,7 +165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -194,17 +192,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -245,7 +243,7 @@ export declare const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -259,7 +257,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -275,7 +273,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -326,17 +324,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -376,7 +374,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -391,12 +389,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -455,7 +453,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -482,17 +480,17 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -539,7 +537,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -555,7 +553,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -588,7 +586,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -616,17 +614,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -680,7 +678,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 979 + "size": 967 } @@ -695,7 +693,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -723,17 +721,17 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -780,7 +778,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -796,7 +794,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -817,17 +815,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -867,7 +865,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -882,7 +880,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -913,18 +911,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -989,7 +987,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } //// [/home/src/workspaces/project/c.js] @@ -1013,7 +1011,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1043,18 +1041,18 @@ export declare const a: number; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1124,7 +1122,7 @@ export declare const a: number; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1133 + "size": 1121 } @@ -1141,7 +1139,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1171,18 +1169,18 @@ export declare const a = "hello"; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1252,7 +1250,7 @@ export declare const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1129 + "size": 1117 } @@ -1269,7 +1267,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1299,18 +1297,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1375,7 +1373,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } @@ -1391,7 +1389,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1425,7 +1423,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1465,7 +1463,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8079f48bd61bd..1ff197ab5c7b8 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/semantic-errors.js @@ -32,8 +32,6 @@ 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] export const a = "hello"; @@ -62,7 +60,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -92,7 +90,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -128,7 +126,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -158,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -187,7 +185,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -216,7 +214,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -246,7 +244,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -282,7 +280,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -312,7 +310,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -349,7 +347,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -385,7 +383,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -414,7 +412,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -463,7 +461,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -503,7 +501,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -543,7 +541,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -584,7 +582,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -618,7 +616,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -659,7 +657,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fe1a3c9bb549b..1bbce1cabcfa4 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 413a52d27c3de..f3730d5cb418f 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,8 +41,6 @@ Found 1 error in a.ts:1 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = "hello; @@ -60,17 +58,17 @@ export declare const b = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -111,7 +109,7 @@ export declare const b = 10; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -125,7 +123,7 @@ export declare const b = 10; ], "checkPending": true, "version": "FakeTSVersion", - "size": 877 + "size": 865 } @@ -141,14 +139,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -183,7 +181,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -210,17 +208,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -261,7 +259,7 @@ export const a = "hello"; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -275,7 +273,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -291,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -342,17 +340,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -392,7 +390,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -407,12 +405,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -440,7 +438,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -471,7 +469,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -506,17 +504,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -563,7 +561,7 @@ export const a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 873 + "size": 861 } @@ -579,7 +577,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -620,7 +618,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -648,17 +646,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -704,7 +702,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 853 + "size": 841 } @@ -719,7 +717,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -747,17 +745,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -804,7 +802,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -820,7 +818,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -841,17 +839,17 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -891,7 +889,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } @@ -906,7 +904,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -937,18 +935,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1013,7 +1011,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } //// [/home/src/workspaces/project/c.js] @@ -1037,7 +1035,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1075,18 +1073,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1156,7 +1154,7 @@ export const a = "hello; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1126 + "size": 1114 } @@ -1173,7 +1171,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1203,18 +1201,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1284,7 +1282,7 @@ export const a = "hello"; ], "checkPending": true, "version": "FakeTSVersion", - "size": 1129 + "size": 1117 } @@ -1301,7 +1299,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1331,18 +1329,18 @@ Found 1 error in c.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1407,7 +1405,7 @@ Found 1 error in c.ts:1 ] ], "version": "FakeTSVersion", - "size": 1107 + "size": 1095 } @@ -1423,7 +1421,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1457,7 +1455,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1497,7 +1495,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a036bd3079205..43ada0a38b95d 100644 --- a/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noCheck/multiFile/syntax-errors.js @@ -40,8 +40,6 @@ Found 1 error in a.ts:1 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/a.js] export const a = "hello; @@ -70,7 +68,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -108,7 +106,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -144,7 +142,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -174,7 +172,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -203,7 +201,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -232,7 +230,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -262,7 +260,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -306,7 +304,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -344,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -381,7 +379,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -417,7 +415,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -446,7 +444,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -495,7 +493,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -543,7 +541,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -583,7 +581,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -624,7 +622,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -658,7 +656,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -699,7 +697,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2b07fefa51dcd..c34c86abc74a5 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,8 +61,6 @@ 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"; @@ -82,17 +80,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +111,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -150,7 +148,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1067 + "size": 1055 } @@ -168,7 +166,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -277,17 +275,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +306,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -322,7 +320,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } //// [/home/src/workspaces/outFile.d.ts] @@ -349,7 +347,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -395,7 +393,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -427,17 +425,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +456,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -471,7 +469,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -488,7 +486,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -533,7 +531,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -565,17 +563,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +594,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -610,7 +608,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -628,7 +626,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -694,17 +692,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -725,7 +723,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -762,7 +760,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1067 + "size": 1055 } @@ -780,7 +778,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -839,7 +837,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -884,17 +882,17 @@ Errors Files //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -915,7 +913,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -951,7 +949,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } @@ -968,7 +966,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1018,17 +1016,17 @@ define("b", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -1049,7 +1047,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1063,7 +1061,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1082,7 +1080,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1114,17 +1112,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -1145,7 +1143,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1158,7 +1156,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -1175,7 +1173,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1231,18 +1229,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1267,7 +1265,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1284,7 +1282,7 @@ define("c", ["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } //// [/home/src/workspaces/outFile.d.ts] @@ -1314,7 +1312,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1387,18 +1385,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1423,7 +1421,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1464,7 +1462,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 1138 + "size": 1126 } @@ -1483,7 +1481,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1540,18 +1538,18 @@ define("c", ["require", "exports"], function (require, exports) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1576,7 +1574,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1594,7 +1592,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } //// [/home/src/workspaces/outFile.d.ts] file written with same contents @@ -1614,7 +1612,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1647,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1683,7 +1681,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1700,7 +1698,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1718,7 +1716,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1751,18 +1749,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1787,7 +1785,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1805,7 +1803,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1824,7 +1822,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1857,18 +1855,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1893,7 +1891,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1910,7 +1908,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1928,7 +1926,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fd0e6466a7335..51d54a32fd10e 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/dts-errors.js @@ -60,8 +60,6 @@ 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"; @@ -94,7 +92,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -149,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -260,7 +258,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -302,7 +300,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -344,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -387,7 +385,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -462,7 +460,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -517,7 +515,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -571,7 +569,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -631,7 +629,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -673,7 +671,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -750,7 +748,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -833,7 +831,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -901,7 +899,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -945,7 +943,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -990,7 +988,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1034,7 +1032,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4abb82924e707..ba440986f58de 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,8 +48,6 @@ 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"; @@ -75,17 +73,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -106,7 +104,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -120,7 +118,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 754 + "size": 742 } @@ -138,7 +136,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -184,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -229,17 +227,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -260,7 +258,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -274,7 +272,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -292,7 +290,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -338,7 +336,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -370,17 +368,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -401,7 +399,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -414,7 +412,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -431,7 +429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -476,7 +474,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -508,17 +506,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -539,7 +537,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -553,7 +551,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -571,7 +569,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -616,17 +614,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -647,7 +645,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -661,7 +659,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 754 + "size": 742 } @@ -679,7 +677,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -725,7 +723,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -757,17 +755,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -788,7 +786,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -801,7 +799,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 734 + "size": 722 } @@ -818,7 +816,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -863,17 +861,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -894,7 +892,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -908,7 +906,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -926,7 +924,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -958,17 +956,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -989,7 +987,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1002,7 +1000,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -1019,7 +1017,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1087,18 +1085,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1123,7 +1121,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1140,7 +1138,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1158,7 +1156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1207,18 +1205,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1243,7 +1241,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1261,7 +1259,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 825 + "size": 813 } @@ -1280,7 +1278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1329,18 +1327,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1365,7 +1363,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1383,7 +1381,7 @@ declare module "c" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1402,7 +1400,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1435,18 +1433,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1471,7 +1469,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1488,7 +1486,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1506,7 +1504,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1539,18 +1537,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +1573,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1593,7 +1591,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1612,7 +1610,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1645,18 +1643,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1681,7 +1679,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1698,7 +1696,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1716,7 +1714,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 354c351a3178c..0cc3cb327199c 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/semantic-errors.js @@ -47,8 +47,6 @@ 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"; @@ -87,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -130,7 +128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -184,7 +182,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -269,7 +267,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -311,7 +309,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -354,7 +352,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -408,7 +406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -451,7 +449,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -493,7 +491,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -547,7 +545,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -589,7 +587,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -666,7 +664,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -725,7 +723,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -784,7 +782,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -828,7 +826,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -873,7 +871,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -917,7 +915,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 594dd9b702fde..f19b215f8af29 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,8 +43,6 @@ 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"; @@ -70,17 +68,17 @@ declare module "b" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -101,7 +99,7 @@ declare module "b" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -115,7 +113,7 @@ declare module "b" { ], "checkPending": true, "version": "FakeTSVersion", - "size": 743 + "size": 731 } @@ -133,7 +131,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -174,7 +172,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -225,17 +223,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -256,7 +254,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -270,7 +268,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -288,7 +286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -334,7 +332,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -366,17 +364,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -397,7 +395,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -410,7 +408,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -427,7 +425,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -472,7 +470,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -504,17 +502,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -535,7 +533,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -549,7 +547,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -567,7 +565,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -613,17 +611,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -644,7 +642,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -658,7 +656,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 743 + "size": 731 } @@ -676,7 +674,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -717,7 +715,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -744,17 +742,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -775,7 +773,7 @@ Found 1 error in a.ts:1 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -788,7 +786,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } @@ -805,7 +803,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -856,17 +854,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -887,7 +885,7 @@ define("b", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -901,7 +899,7 @@ define("b", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -919,7 +917,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -951,17 +949,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -982,7 +980,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -995,7 +993,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } @@ -1012,7 +1010,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -1080,18 +1078,18 @@ declare module "c" { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1116,7 +1114,7 @@ declare module "c" { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1133,7 +1131,7 @@ declare module "c" { ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1151,7 +1149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1204,18 +1202,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1240,7 +1238,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1258,7 +1256,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 814 + "size": 802 } @@ -1277,7 +1275,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1335,18 +1333,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1371,7 +1369,7 @@ define("c", ["require", "exports"], function (require, exports) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1389,7 +1387,7 @@ define("c", ["require", "exports"], function (require, exports) { ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1408,7 +1406,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1441,18 +1439,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1477,7 +1475,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1494,7 +1492,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1512,7 +1510,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1545,18 +1543,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -1581,7 +1579,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1599,7 +1597,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ], "checkPending": true, "version": "FakeTSVersion", - "size": 817 + "size": 805 } @@ -1618,7 +1616,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -1651,18 +1649,18 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +1685,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1704,7 +1702,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -1722,7 +1720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 13f1de8765e37..8d0d095b788ea 100644 --- a/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noCheck/outFile/syntax-errors.js @@ -42,8 +42,6 @@ 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"; @@ -82,7 +80,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -180,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -223,7 +221,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -265,7 +263,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -350,7 +348,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -405,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -443,7 +441,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -480,7 +478,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -540,7 +538,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -582,7 +580,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts @@ -659,7 +657,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -722,7 +720,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -790,7 +788,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -834,7 +832,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -879,7 +877,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/a.ts /home/src/workspaces/project/b.ts /home/src/workspaces/project/c.ts @@ -923,7 +921,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 524047e719cf9..a4dad40e8c9c5 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 6c42a37c3ca33..fdab2e3a463f8 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-composite.js @@ -53,8 +53,6 @@ declare const console: { log(msg: any): void; }; Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/class.js] export class classC { prop = 1; @@ -118,12 +116,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -140,7 +138,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -232,7 +230,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 1902 + "size": 1890 } @@ -300,12 +298,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -322,7 +320,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -488,7 +486,7 @@ Errors Files ], "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 2589 + "size": 2577 } @@ -510,12 +508,12 @@ Output:: //// [/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.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"} +{"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]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -532,7 +530,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -624,7 +622,7 @@ Output:: }, "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 1902 + "size": 1890 } @@ -727,12 +725,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.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"} +{"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}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -749,7 +747,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -887,7 +885,7 @@ export declare class classC { ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2469 + "size": 2457 } @@ -1055,12 +1053,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1077,7 +1075,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1205,7 +1203,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1984 + "size": 1972 } @@ -1233,12 +1231,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.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"} +{"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]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1255,7 +1253,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1347,7 +1345,7 @@ export declare class classC { }, "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1874 + "size": 1862 } 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 33aa054190268..220263fb9c4b1 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental-declaration.js @@ -54,8 +54,6 @@ declare const console: { log(msg: any): void; }; Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/class.js] export class classC { prop = 1; @@ -119,12 +117,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -141,7 +139,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -232,7 +230,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } @@ -300,12 +298,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -322,7 +320,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -473,7 +471,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2368 + "size": 2356 } @@ -499,12 +497,12 @@ Output:: //// [/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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -521,7 +519,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -612,7 +610,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } @@ -718,12 +716,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.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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -740,7 +738,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -877,7 +875,7 @@ export declare class classC { ] ], "version": "FakeTSVersion", - "size": 2429 + "size": 2417 } @@ -1045,12 +1043,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1067,7 +1065,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1180,7 +1178,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1789 + "size": 1777 } @@ -1211,12 +1209,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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1233,7 +1231,7 @@ export declare class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1324,7 +1322,7 @@ export declare class classC { ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } diff --git a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js index ed433d4957873..821908b744496 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/changes-incremental.js @@ -53,8 +53,6 @@ declare const console: { log(msg: any): void; }; Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspaces/project/src/class.js] export class classC { prop = 1; @@ -89,12 +87,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -111,7 +109,7 @@ function someFunc(arguments, ...rest) { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -178,7 +176,7 @@ function someFunc(arguments, ...rest) { ] }, "version": "FakeTSVersion", - "size": 1287 + "size": 1275 } @@ -246,12 +244,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"affectedFilesPendingEmit":[2,4,3,5],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -268,7 +266,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -415,7 +413,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2248 + "size": 2236 } @@ -439,12 +437,12 @@ Output:: //// [/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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -461,7 +459,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -536,7 +534,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } @@ -633,12 +631,12 @@ export 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.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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -655,7 +653,7 @@ export class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -776,7 +774,7 @@ export class classC { ] ], "version": "FakeTSVersion", - "size": 2109 + "size": 2097 } @@ -944,12 +942,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -966,7 +964,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1051,7 +1049,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1547 + "size": 1535 } @@ -1073,12 +1071,12 @@ export 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.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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -1095,7 +1093,7 @@ export class classC { ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1170,7 +1168,7 @@ export class classC { ] }, "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } 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 18a16077ca78b..8da8062be3001 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 46835e371f623..52e927427c598 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,15 +53,13 @@ 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.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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -78,7 +76,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -200,7 +198,7 @@ Output:: "./src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1418 + "size": 1406 } @@ -215,12 +213,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -237,7 +235,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -329,7 +327,7 @@ Output:: }, "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts", "version": "FakeTSVersion", - "size": 1902 + "size": 1890 } //// [/home/src/workspaces/project/src/class.js] @@ -437,12 +435,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -459,7 +457,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -597,7 +595,7 @@ Errors Files ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 2469 + "size": 2457 } //// [/home/src/workspaces/project/src/class.js] @@ -630,12 +628,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -652,7 +650,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -780,7 +778,7 @@ Output:: ], "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1984 + "size": 1972 } @@ -795,12 +793,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"latestChangedDtsFile":"./src/class.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -817,7 +815,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -909,7 +907,7 @@ Output:: }, "latestChangedDtsFile": "./src/class.d.ts", "version": "FakeTSVersion", - "size": 1874 + "size": 1862 } //// [/home/src/workspaces/project/src/class.js] 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 b6bbfbc613671..0a9b26447a712 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,15 +54,13 @@ 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.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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -79,7 +77,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -193,7 +191,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1389 + "size": 1377 } @@ -208,12 +206,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -230,7 +228,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -321,7 +319,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } //// [/home/src/workspaces/project/src/class.js] @@ -429,12 +427,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -451,7 +449,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -588,7 +586,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2429 + "size": 2417 } //// [/home/src/workspaces/project/src/class.js] @@ -624,12 +622,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"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.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -646,7 +644,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -759,7 +757,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1789 + "size": 1777 } @@ -774,12 +772,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -796,7 +794,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -887,7 +885,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1834 + "size": 1822 } //// [/home/src/workspaces/project/src/class.js] 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 5af036daa09af..3f3ab469cbbd3 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,15 +53,13 @@ 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.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"} +{"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]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -78,7 +76,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -171,7 +169,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1328 + "size": 1316 } @@ -186,12 +184,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -208,7 +206,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -275,7 +273,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1287 + "size": 1275 } //// [/home/src/workspaces/project/src/class.js] @@ -354,12 +352,12 @@ Errors Files //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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}]}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -376,7 +374,7 @@ Errors Files ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -505,7 +503,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 2211 + "size": 2199 } //// [/home/src/workspaces/project/src/class.js] @@ -534,12 +532,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"affectedFilesPendingEmit":[2,3],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -556,7 +554,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -641,7 +639,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1547 + "size": 1535 } @@ -656,12 +654,12 @@ Output:: //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./src/class.ts", "./src/indirectclass.ts", "./src/directuse.ts", @@ -678,7 +676,7 @@ Output:: ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -753,7 +751,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1514 + "size": 1502 } //// [/home/src/workspaces/project/src/class.js] 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 721e914867c8b..451ea9edfd509 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 89bbc6e57836d..5cecdb36da9d0 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,22 +38,20 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -112,7 +110,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 835 + "size": 823 } @@ -130,21 +128,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -175,7 +173,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -233,19 +231,19 @@ Errors Files //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -384,7 +382,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1750 + "size": 1738 } @@ -403,7 +401,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -424,19 +422,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -511,7 +509,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 908 + "size": 896 } @@ -531,7 +529,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -566,7 +564,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -624,19 +622,19 @@ Errors Files //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -749,7 +747,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1762 + "size": 1750 } //// [/home/src/projects/project/a.js] @@ -793,7 +791,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -817,19 +815,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -928,7 +926,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1594 + "size": 1582 } @@ -946,7 +944,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -995,19 +993,19 @@ Errors Files //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1133,7 +1131,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1651 + "size": 1639 } @@ -1152,7 +1150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1173,19 +1171,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1268,7 +1266,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1088 + "size": 1076 } @@ -1288,7 +1286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1312,19 +1310,19 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", "./d.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -1411,7 +1409,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1200 + "size": 1188 } @@ -1431,7 +1429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2d4e62220e765..006a2ad3639eb 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,20 +46,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -130,7 +128,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1042 + "size": 1030 } @@ -147,17 +145,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -220,17 +218,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -282,7 +280,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -299,7 +297,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -333,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -352,17 +350,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -402,7 +400,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } //// [/home/src/projects/project/a.js] @@ -434,7 +432,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -466,7 +464,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -501,17 +499,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -583,7 +581,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1313 + "size": 1301 } @@ -600,7 +598,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -634,17 +632,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -707,7 +705,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1265 } //// [/home/src/projects/project/a.js] @@ -729,7 +727,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -774,7 +772,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5ff9612f15b1c..ac6e51a39503e 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,19 +43,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -116,7 +114,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -132,15 +130,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -200,16 +198,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -248,7 +246,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 753 + "size": 741 } @@ -264,11 +262,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -297,7 +295,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -315,16 +313,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -354,7 +352,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 717 + "size": 705 } //// [/home/src/projects/project/a.js] @@ -377,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -407,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -441,16 +439,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -512,7 +510,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1204 + "size": 1192 } @@ -528,11 +526,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -562,16 +560,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -624,7 +622,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 1168 + "size": 1156 } //// [/home/src/projects/project/a.js] @@ -645,7 +643,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -688,7 +686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fee02fb593993..d5d9e6e09bbfa 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,20 +32,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -84,7 +82,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 683 } @@ -100,17 +98,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -137,7 +135,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -159,17 +157,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -212,7 +210,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -228,7 +226,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -280,17 +278,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -323,7 +321,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -346,7 +344,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -377,7 +375,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -399,17 +397,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -448,7 +446,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 902 + "size": 890 } @@ -464,7 +462,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -485,17 +483,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -528,7 +526,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 871 + "size": 859 } //// [/home/src/projects/project/a.js] @@ -549,7 +547,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -580,7 +578,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b0521ef632a07..3c85144cebe4a 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,19 +29,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -73,7 +71,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 676 + "size": 664 } @@ -88,15 +86,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.Success @@ -121,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -142,16 +140,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -184,7 +182,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -199,11 +197,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -231,7 +229,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -249,16 +247,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -285,7 +283,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -332,7 +330,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -353,16 +351,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -395,7 +393,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 864 + "size": 852 } @@ -410,11 +408,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -431,16 +429,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -467,7 +465,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 833 + "size": 821 } //// [/home/src/projects/project/a.js] @@ -487,7 +485,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -516,7 +514,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 750f409f320a8..0bdd90cd43152 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,8 +27,6 @@ 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" @@ -40,7 +38,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -64,7 +62,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -91,7 +89,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -115,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -193,7 +191,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -246,7 +244,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b0b901826f8e2..c9c2e5b7aad8c 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/dts-errors.js @@ -42,8 +42,6 @@ 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" @@ -56,7 +54,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -94,7 +92,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -122,7 +120,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -147,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -204,7 +202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -245,7 +243,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -288,7 +286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -326,7 +324,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e43b25018fa3a..9022f6a799652 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,20 +40,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -106,7 +104,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } @@ -122,17 +120,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -167,7 +165,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -189,17 +187,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -242,7 +240,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -291,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -310,17 +308,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -353,7 +351,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -376,7 +374,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -407,7 +405,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -437,17 +435,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -500,7 +498,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 909 + "size": 897 } @@ -516,7 +514,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -545,17 +543,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -602,7 +600,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 878 + "size": 866 } //// [/home/src/projects/project/a.js] file written with same contents @@ -618,7 +616,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -657,7 +655,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 69fd88308c1b8..07e51efafdde3 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,19 +37,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -95,7 +93,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 818 + "size": 806 } @@ -110,15 +108,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -151,7 +149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -172,16 +170,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -214,7 +212,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -229,11 +227,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -279,16 +277,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -315,7 +313,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -333,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -362,7 +360,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -391,16 +389,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -447,7 +445,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 870 + "size": 858 } @@ -462,11 +460,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: @@ -491,16 +489,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -541,7 +539,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } //// [/home/src/projects/project/a.js] file written with same contents @@ -556,7 +554,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -593,7 +591,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 871cd0dcfcba9..6bd44fbe0a8b3 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/semantic-errors.js @@ -35,8 +35,6 @@ 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" @@ -48,7 +46,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -80,7 +78,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -131,7 +129,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -158,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -182,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -249,7 +247,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 35e4759835c89..934bd603e03e9 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,20 +40,18 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -90,10 +88,10 @@ Found 1 error in a.ts:1 "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -109,7 +107,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -148,7 +146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -170,17 +168,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -227,7 +225,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 825 + "size": 813 } @@ -243,19 +241,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.Success @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -299,17 +297,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -346,7 +344,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 792 + "size": 780 } //// [/home/src/projects/project/a.js] @@ -369,7 +367,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -400,7 +398,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -430,17 +428,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -480,7 +478,7 @@ Found 1 error in a.ts:1 "./a.ts" ], "version": "FakeTSVersion", - "size": 809 + "size": 797 } @@ -496,7 +494,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -524,17 +522,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -577,7 +575,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 822 + "size": 810 } //// [/home/src/projects/project/a.js] @@ -596,7 +594,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -637,7 +635,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 718eee05db3d1..8ffab05e745f5 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,19 +37,17 @@ 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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -76,10 +74,10 @@ Found 1 error in a.ts:1 ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 684 + "size": 672 } @@ -94,7 +92,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -131,7 +129,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -152,16 +150,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -194,7 +192,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -209,16 +207,16 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.Success @@ -242,7 +240,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -260,16 +258,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -296,7 +294,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -314,7 +312,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -343,7 +341,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -372,16 +370,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -411,7 +409,7 @@ Found 1 error in a.ts:1 "./a.ts" ], "version": "FakeTSVersion", - "size": 703 + "size": 691 } @@ -426,7 +424,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -453,16 +451,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -495,7 +493,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 716 + "size": 704 } //// [/home/src/projects/project/a.js] @@ -513,7 +511,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -552,7 +550,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 323a541586229..9df9153d1325a 100644 --- a/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmit/multiFile/syntax-errors.js @@ -35,8 +35,6 @@ 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" @@ -48,7 +46,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -80,7 +78,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -131,7 +129,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -158,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -182,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.Success @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -252,7 +250,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0feed821b5afd..466dd8bb27224 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 e76e738c0f4eb..b8a448c422008 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-composite.js @@ -68,8 +68,6 @@ 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"; @@ -131,12 +129,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -145,7 +143,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +174,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -207,7 +205,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": 1857 + "size": 1845 } @@ -288,12 +286,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -302,7 +300,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -337,7 +335,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": 1834 + "size": 1822 } @@ -371,12 +369,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -385,7 +383,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -416,7 +414,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -447,7 +445,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": 1857 + "size": 1845 } @@ -636,12 +634,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -650,7 +648,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -681,7 +679,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -712,7 +710,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": 1861 + "size": 1849 } @@ -841,12 +839,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -855,7 +853,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -890,7 +888,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": 1834 + "size": 1822 } @@ -978,12 +976,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -992,7 +990,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +1021,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1054,7 +1052,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": 1857 + "size": 1845 } 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 fa58f08523eaf..94c76eca7a998 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental-declaration.js @@ -75,8 +75,6 @@ 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"; @@ -138,12 +136,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -152,7 +150,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -183,7 +181,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -212,7 +210,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } @@ -293,12 +291,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -307,7 +305,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -340,7 +338,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1285 + "size": 1273 } @@ -381,12 +379,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -395,7 +393,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -426,7 +424,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -455,7 +453,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } @@ -662,12 +660,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -676,7 +674,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -707,7 +705,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -736,7 +734,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1310 + "size": 1298 } @@ -877,12 +875,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -891,7 +889,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -924,7 +922,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1283 + "size": 1271 } @@ -1018,12 +1016,12 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -1032,7 +1030,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -1063,7 +1061,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1092,7 +1090,7 @@ declare function someFunc(arguments: boolean, ...rest: any[]): void; ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } diff --git a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js index 38fc6dca388c6..d2799bd51a7e8 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/changes-incremental.js @@ -74,8 +74,6 @@ 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"; @@ -117,12 +115,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -131,7 +129,7 @@ function someFunc(arguments, ...rest) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -161,7 +159,7 @@ function someFunc(arguments, ...rest) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -190,7 +188,7 @@ function someFunc(arguments, ...rest) { ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } @@ -271,12 +269,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -285,7 +283,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -317,7 +315,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1266 + "size": 1254 } @@ -357,12 +355,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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -371,7 +369,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -401,7 +399,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -430,7 +428,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } @@ -617,12 +615,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -631,7 +629,7 @@ function someFunc(arguments, ...rest) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -661,7 +659,7 @@ function someFunc(arguments, ...rest) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -690,7 +688,7 @@ function someFunc(arguments, ...rest) { ] ], "version": "FakeTSVersion", - "size": 1291 + "size": 1279 } @@ -831,12 +829,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -845,7 +843,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -877,7 +875,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1264 + "size": 1252 } @@ -951,12 +949,12 @@ function someFunc(arguments, ...rest) { //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -965,7 +963,7 @@ function someFunc(arguments, ...rest) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -995,7 +993,7 @@ function someFunc(arguments, ...rest) { }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1024,7 +1022,7 @@ function someFunc(arguments, ...rest) { ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } 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 8681363881813..8c0eaf1af771e 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 e71da23c1e806..545eb02fa587f 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,15 +68,13 @@ 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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -85,7 +83,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -115,7 +113,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -124,7 +122,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1293 + "size": 1281 } @@ -152,12 +150,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -166,7 +164,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -197,7 +195,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -228,7 +226,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": 1857 + "size": 1845 } //// [/home/src/workspaces/outFile.js] @@ -321,12 +319,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -335,7 +333,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -366,7 +364,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -397,7 +395,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": 1861 + "size": 1849 } //// [/home/src/workspaces/outFile.js] @@ -490,12 +488,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -504,7 +502,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -539,7 +537,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": 1834 + "size": 1822 } @@ -567,12 +565,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -581,7 +579,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -612,7 +610,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -643,7 +641,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": 1857 + "size": 1845 } //// [/home/src/workspaces/outFile.js] 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 97a065bc67cb1..6f33390c3bb3a 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,15 +69,13 @@ 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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -86,7 +84,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -116,7 +114,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -125,7 +123,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1295 + "size": 1283 } @@ -159,12 +157,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -173,7 +171,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -204,7 +202,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -233,7 +231,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } //// [/home/src/workspaces/outFile.js] @@ -332,12 +330,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -346,7 +344,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -377,7 +375,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -406,7 +404,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1310 + "size": 1298 } //// [/home/src/workspaces/outFile.js] @@ -499,12 +497,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -513,7 +511,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -546,7 +544,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:5 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1283 + "size": 1271 } @@ -580,12 +578,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -594,7 +592,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -625,7 +623,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -654,7 +652,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:5 ] ], "version": "FakeTSVersion", - "size": 1308 + "size": 1296 } //// [/home/src/workspaces/outFile.js] 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 3a50a62673c52..af648bb626ff9 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,15 +68,13 @@ 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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -85,7 +83,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +112,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "outFile": "./outFile.js" }, "changeFileSet": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/directuse.ts", "./project/src/indirectclass.ts", @@ -123,7 +121,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "version": "FakeTSVersion", - "size": 1276 + "size": 1264 } @@ -157,12 +155,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -171,7 +169,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -201,7 +199,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -230,7 +228,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } //// [/home/src/workspaces/outFile.js] @@ -309,12 +307,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -323,7 +321,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 +351,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -382,7 +380,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1291 + "size": 1279 } //// [/home/src/workspaces/outFile.js] @@ -455,12 +453,12 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -469,7 +467,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -501,7 +499,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:4 "./project/src/class.ts" ], "version": "FakeTSVersion", - "size": 1264 + "size": 1252 } @@ -535,12 +533,12 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/src/class.ts", "./project/src/indirectclass.ts", "./project/src/directuse.ts", @@ -549,7 +547,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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;", @@ -579,7 +577,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -608,7 +606,7 @@ Found 3 errors in the same file, starting at: tsconfig.json:4 ] ], "version": "FakeTSVersion", - "size": 1289 + "size": 1277 } //// [/home/src/workspaces/outFile.js] 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 af5b631eff751..f6e3860b1a803 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 6cf8fc7b0d331..af8acda51e5e4 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,22 +53,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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -97,10 +95,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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 865 + "size": 853 } @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -204,19 +202,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -246,10 +244,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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 884 + "size": 872 } @@ -270,7 +268,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -304,19 +302,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -347,10 +345,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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 906 + "size": 894 } @@ -372,7 +370,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -422,7 +420,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -491,19 +489,19 @@ Errors Files //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -530,7 +528,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -616,7 +614,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1761 + "size": 1749 } //// [/home/src/projects/outFile.js] @@ -672,7 +670,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -709,19 +707,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -749,7 +747,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 856 + "size": 844 } @@ -769,7 +767,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -803,19 +801,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -844,7 +842,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 875 + "size": 863 } @@ -865,7 +863,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -899,19 +897,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -941,7 +939,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 897 + "size": 885 } @@ -963,7 +961,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts /home/src/projects/project/c.ts @@ -1000,19 +998,19 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts", "./project/c.ts", "./project/d.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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; };", @@ -1043,7 +1041,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/c.ts" ], "version": "FakeTSVersion", - "size": 898 + "size": 886 } @@ -1065,7 +1063,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a952d630a7adf..c31c43cffeb6f 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -65,16 +65,16 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } \ 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 b06463208ecf8..795607e3f687b 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,20 +48,18 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -83,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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } @@ -105,7 +103,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -152,7 +150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -187,17 +185,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -219,10 +217,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 713 + "size": 701 } @@ -241,7 +239,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -288,7 +286,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -320,17 +318,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -351,7 +349,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -364,7 +362,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } //// [/home/src/projects/outFile.js] @@ -406,7 +404,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -453,7 +451,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -488,17 +486,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -521,7 +519,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 724 + "size": 712 } @@ -540,7 +538,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -585,17 +583,17 @@ Errors Files //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -616,7 +614,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -652,7 +650,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } //// [/home/src/projects/outFile.js] @@ -688,7 +686,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -735,7 +733,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e5979f680ae6b..66153cdb54a8b 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -54,15 +54,15 @@ Incremental buildInfoText:: { ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } Clean buildInfoText:: { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } \ 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 73fdbecb74af9..bfb971a2d2f4d 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,19 +39,17 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -66,10 +64,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } @@ -86,7 +84,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -125,7 +123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -154,16 +152,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -178,10 +176,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 636 + "size": 624 } @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -237,7 +235,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -263,16 +261,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -287,7 +285,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -296,7 +294,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 649 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -320,7 +318,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -359,7 +357,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -388,16 +386,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -414,7 +412,7 @@ Found 1 error in tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 650 + "size": 638 } @@ -431,7 +429,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -470,16 +468,16 @@ Errors Files //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -494,7 +492,7 @@ Errors Files }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -526,7 +524,7 @@ Errors Files ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -548,7 +546,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -587,7 +585,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 694055ed32c21..09607f24e8d19 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,20 +47,18 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +79,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 709 + "size": 697 } @@ -102,7 +100,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -148,7 +146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -183,17 +181,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -214,10 +212,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -235,7 +233,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -313,17 +311,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -343,7 +341,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -356,7 +354,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -388,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -434,7 +432,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -469,17 +467,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -501,7 +499,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 705 + "size": 693 } @@ -519,7 +517,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -551,17 +549,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -581,7 +579,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -594,7 +592,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 722 + "size": 710 } //// [/home/src/projects/outFile.js] @@ -629,7 +627,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -675,7 +673,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fc015e17a7a24..a24e741aec17b 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,19 +38,17 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +62,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 633 + "size": 621 } @@ -83,7 +81,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -121,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -150,16 +148,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -173,10 +171,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -192,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,16 +254,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -279,7 +277,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -288,7 +286,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -345,7 +343,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -374,16 +372,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -399,7 +397,7 @@ Found 1 error in tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 631 + "size": 619 } @@ -415,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -441,16 +439,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -464,7 +462,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -473,7 +471,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 646 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -494,7 +492,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -532,7 +530,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e3688e9cf405d..7b2ff4033bc66 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,8 +37,6 @@ 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 +49,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -84,7 +82,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -153,7 +151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -189,7 +187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -296,7 +294,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0828c8f08aca7..558d84f6dd92b 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/dts-errors.js @@ -38,8 +38,6 @@ 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" @@ -53,7 +51,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -87,7 +85,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -124,7 +122,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -158,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -199,7 +197,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -233,7 +231,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -270,7 +268,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -322,7 +320,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped @@ -356,7 +354,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 762c3215af407..50bd2eaf7bd37 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,20 +47,18 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -81,10 +79,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 689 } @@ -102,7 +100,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -148,7 +146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -183,17 +181,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -214,10 +212,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -235,7 +233,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -313,17 +311,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -343,7 +341,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -356,7 +354,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -388,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -434,7 +432,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -469,17 +467,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -501,7 +499,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 685 } @@ -519,7 +517,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -551,17 +549,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -581,7 +579,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -594,7 +592,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 714 + "size": 702 } //// [/home/src/projects/outFile.js] file written with same contents @@ -612,7 +610,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -658,7 +656,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d3c3cc7112a4f..e4dfa1b6068b1 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,19 +38,17 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -64,10 +62,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 612 } @@ -83,7 +81,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -121,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -150,16 +148,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -173,10 +171,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -192,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,16 +254,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -279,7 +277,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -288,7 +286,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -345,7 +343,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -374,16 +372,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -399,7 +397,7 @@ Found 1 error in tsconfig.json:3 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 622 + "size": 610 } @@ -415,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -441,16 +439,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -464,7 +462,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -473,7 +471,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 637 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -489,7 +487,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -527,7 +525,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c2e1c39caa117..2b6c4eba3fa8f 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/semantic-errors.js @@ -37,8 +37,6 @@ 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 +49,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -84,7 +82,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -153,7 +151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -189,7 +187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -291,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -324,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e264b941f5e8a..6b4736dfce12c 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,20 +42,18 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -76,10 +74,10 @@ Found 1 error in a.ts:1 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 679 } @@ -97,7 +95,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -138,7 +136,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -173,17 +171,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -204,10 +202,10 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -225,7 +223,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -271,7 +269,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -303,17 +301,17 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -333,7 +331,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -346,7 +344,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -378,7 +376,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -454,17 +452,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -486,7 +484,7 @@ Found 1 error in a.ts:1 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 687 + "size": 675 } @@ -504,7 +502,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -531,17 +529,17 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -561,7 +559,7 @@ Found 1 error in a.ts:1 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -574,7 +572,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 704 + "size": 692 } //// [/home/src/projects/outFile.js] @@ -606,7 +604,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -647,7 +645,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5c73fc80ed17f..818cff1162085 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,19 +38,17 @@ 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.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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -64,10 +62,10 @@ Found 1 error in a.ts:1 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 614 + "size": 602 } @@ -83,7 +81,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -121,7 +119,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -150,16 +148,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -173,10 +171,10 @@ Found 1 error in tsconfig.json:3 }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -192,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -256,16 +254,16 @@ Found 1 error in tsconfig.json:3 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -279,7 +277,7 @@ Found 1 error in tsconfig.json:3 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -288,7 +286,7 @@ Found 1 error in tsconfig.json:3 ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -307,7 +305,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -345,7 +343,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -374,16 +372,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -399,7 +397,7 @@ Found 1 error in a.ts:1 "./project/a.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 600 } @@ -415,7 +413,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -441,16 +439,16 @@ Found 1 error in a.ts:1 //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -464,7 +462,7 @@ Found 1 error in a.ts:1 }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -473,7 +471,7 @@ Found 1 error in a.ts:1 ] ], "version": "FakeTSVersion", - "size": 627 + "size": 615 } //// [/home/src/projects/outFile.js] @@ -492,7 +490,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -530,7 +528,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 aaa94b0f49e22..5f884eb9f479e 100644 --- a/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmit/outFile/syntax-errors.js @@ -37,8 +37,6 @@ 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" @@ -51,7 +49,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -84,7 +82,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -153,7 +151,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -189,7 +187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -258,7 +256,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -294,7 +292,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -327,7 +325,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e4ea3f048e841..ba96e2363513e 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,19 +30,17 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./class1.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -72,7 +70,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 656 + "size": 644 } @@ -87,15 +85,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/class1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/class1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/class1.ts (used version) exitCode:: ExitStatus.Success @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 32db6b38bf497..9627b2ca69559 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,15 +58,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -77,7 +75,7 @@ Found 1 error in src/main.ts:2 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -169,7 +167,7 @@ Found 1 error in src/main.ts:2 ] ], "version": "FakeTSVersion", - "size": 1304 + "size": 1292 } @@ -187,19 +185,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -242,7 +240,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -267,12 +265,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -283,7 +281,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -337,7 +335,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1103 + "size": 1091 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -388,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3187218bb9b4d..392122606476c 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,8 +57,6 @@ 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", @@ -73,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -115,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -182,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 724cbe06fa2f8..90abc29335ce3 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,8 +44,6 @@ 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] export {}; @@ -62,12 +60,12 @@ export {}; //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -78,7 +76,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 929 + "size": 917 } @@ -140,19 +138,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -181,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -223,7 +221,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -272,7 +270,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1033 + "size": 1021 } @@ -289,7 +287,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -324,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3ab1322e8299d..0fb6ee862683a 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/dts-errors.js @@ -43,8 +43,6 @@ 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] export {}; @@ -73,7 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -140,7 +138,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -171,7 +169,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9a566de3b2799..454f15c7ed3e9 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,20 +41,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../file1.ts", "../file2.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -111,7 +109,7 @@ Found 1 error in file1.ts:1 ] ], "version": "FakeTSVersion", - "size": 892 + "size": 880 } @@ -127,17 +125,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/workspaces/project/file1.ts (used version) /home/src/workspaces/project/file2.ts (used version) @@ -161,16 +159,16 @@ Found 1 error in file1.ts:1 //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../tslibs/ts/lib/lib.d.ts", "../file1.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../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 @@ -215,7 +213,7 @@ Found 1 error in file1.ts:1 ] ], "version": "FakeTSVersion", - "size": 841 + "size": 829 } @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ef19a39b22b46..cc38decc3ab8f 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,15 +52,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -71,7 +69,7 @@ Found 1 error in src/main.ts:2 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -145,7 +143,7 @@ Found 1 error in src/main.ts:2 ] ], "version": "FakeTSVersion", - "size": 1113 + "size": 1101 } @@ -163,19 +161,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +235,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -253,7 +251,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -307,7 +305,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1034 + "size": 1022 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -389,7 +387,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 00b8efb73a99c..9fd399e499cb9 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,8 +51,6 @@ 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", @@ -67,7 +65,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -165,7 +163,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +198,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 979a667028892..74db54e5ac828 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,15 +51,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -70,7 +68,7 @@ Found 1 error in src/main.ts:2 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -143,7 +141,7 @@ Found 1 error in src/main.ts:2 ] ], "version": "FakeTSVersion", - "size": 1094 + "size": 1082 } @@ -160,19 +158,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -209,7 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +231,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -249,7 +247,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -298,7 +296,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 964 + "size": 952 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -364,7 +362,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b81c3fbee7029..bce7182666bba 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/semantic-errors.js @@ -50,8 +50,6 @@ 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 +63,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -101,7 +99,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -147,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e6d5bd1039f54..bf1c42e5ff7f3 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,15 +55,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -74,7 +72,7 @@ Found 1 error in src/main.ts:4 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -135,7 +133,7 @@ Found 1 error in src/main.ts:4 ], "errors": true, "version": "FakeTSVersion", - "size": 991 + "size": 979 } @@ -153,19 +151,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -203,7 +201,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +227,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -245,7 +243,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -299,7 +297,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1043 + "size": 1031 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -347,7 +345,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -383,7 +381,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2788814e6be6d..9e5f7839a2e2c 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,8 +54,6 @@ 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", @@ -70,7 +68,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +170,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +205,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b7a5924c93a80..aebaf53459ffd 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,15 +54,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -73,7 +71,7 @@ Found 1 error in src/main.ts:4 ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -133,7 +131,7 @@ Found 1 error in src/main.ts:4 ], "errors": true, "version": "FakeTSVersion", - "size": 972 + "size": 960 } @@ -150,19 +148,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -199,7 +197,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +223,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -241,7 +239,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -290,7 +288,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -358,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a88750f16a726..37998f0d29efa 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/multiFile/syntax-errors.js @@ -53,8 +53,6 @@ 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 +66,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +152,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -185,7 +183,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e0ca3861d14cd..794c8ff145a7a 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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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.es2024.full.d.ts": { + "../../tslibs/ts/lib/lib.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 e6d267ebc4861..e82f77dec49b8 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,6 @@ 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] const x = 10; @@ -53,17 +51,17 @@ declare const y = 10; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -110,7 +108,7 @@ declare const y = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 901 + "size": 889 } @@ -136,17 +134,17 @@ Found 1 error in a.ts:1 //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -230,7 +228,7 @@ Found 1 error in a.ts:1 ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1172 + "size": 1160 } @@ -258,17 +256,17 @@ declare const y = 10; //# sourceMappingURL=b.d.ts.map //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -316,7 +314,7 @@ declare const y = 10; }, "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 923 + "size": 911 } //// [/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 289b472ebac76..01b777a07b2d6 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,21 +59,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -103,7 +101,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 957 + "size": 945 } @@ -122,13 +120,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +172,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -212,18 +210,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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -253,7 +251,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 949 + "size": 937 } @@ -272,13 +270,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -324,7 +322,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7587d7fad8e52..4291c68e26a93 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,8 +58,6 @@ 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", @@ -75,7 +73,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -118,7 +116,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -209,7 +207,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 af580a51d4a14..960dedb1b5123 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,21 +58,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +99,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 926 } @@ -119,13 +117,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +206,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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -248,7 +246,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 930 + "size": 918 } @@ -266,13 +264,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -317,7 +315,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 59051ddcc5da3..c990b34cea633 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/dts-errors.js @@ -57,8 +57,6 @@ 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 +71,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -115,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -204,7 +202,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a5be82f8470fe..764446fe6354c 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,20 +55,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/file1.ts", "./project/file2.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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 { }" }, @@ -106,7 +104,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 871 + "size": 859 } @@ -123,12 +121,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/file1.ts /home/src/workspaces/project/file2.ts @@ -167,16 +165,16 @@ Errors Files //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/file1.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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": [ @@ -209,7 +207,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 815 + "size": 803 } @@ -225,11 +223,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5905a181c7609..f3c080f753f80 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,21 +66,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +121,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 1073 + "size": 1061 } @@ -142,13 +140,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -239,18 +237,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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -280,7 +278,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 941 + "size": 929 } @@ -299,13 +297,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -351,7 +349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8a6e599cd59e5..634d8ab2e0b2f 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,8 +65,6 @@ 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", @@ -82,7 +80,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -133,7 +131,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -180,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +221,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79c9db1798a88..c9455d6f75b87 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,21 +65,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +119,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 1054 + "size": 1042 } @@ -139,13 +137,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +233,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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -275,7 +273,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 922 + "size": 910 } @@ -293,13 +291,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -344,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a6d4aaef8e736..6301a4da78fb7 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/semantic-errors.js @@ -64,8 +64,6 @@ 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 +78,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -130,7 +128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -176,7 +174,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +216,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b32ef958597a8..109607eb507a3 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,21 +69,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +111,7 @@ Errors Files ], "errors": true, "version": "FakeTSVersion", - "size": 951 + "size": 939 } @@ -132,13 +130,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -192,7 +190,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +229,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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -272,7 +270,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 950 + "size": 938 } @@ -291,13 +289,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +341,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a32d1386087a8..9fb8af9263de5 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,8 +68,6 @@ 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", @@ -85,7 +83,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -136,7 +134,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -185,7 +183,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -228,7 +226,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8c36eb316f537..14d787115c908 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,21 +68,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +109,7 @@ Errors Files ], "errors": true, "version": "FakeTSVersion", - "size": 932 + "size": 920 } @@ -129,13 +127,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +186,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +225,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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -267,7 +265,7 @@ Found 2 errors in the same file, starting at: tsconfig.json:3 ], "errors": true, "version": "FakeTSVersion", - "size": 931 + "size": 919 } @@ -285,13 +283,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -336,7 +334,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4d6b26389d37c..e6bef01206a99 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/syntax-errors.js @@ -67,8 +67,6 @@ 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 +81,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -133,7 +131,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -181,7 +179,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +221,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3a9da0b85d276..24278c79834a3 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/noEmitOnError/outFile/when-declarationMap-changes.js @@ -43,20 +43,18 @@ 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.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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -82,7 +80,7 @@ Found 1 error in tsconfig.json:6 ], "errors": true, "version": "FakeTSVersion", - "size": 725 + "size": 713 } @@ -116,17 +114,17 @@ Errors Files //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -166,7 +164,7 @@ Errors Files false ], "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -192,17 +190,17 @@ Found 1 error in tsconfig.json:6 //// [/home/src/workspaces/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -229,7 +227,7 @@ Found 1 error in tsconfig.json:6 ], "errors": true, "version": "FakeTSVersion", - "size": 747 + "size": 735 } 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 22038de9cae99..0c55c273bf467 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,6 @@ 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 const local = 0; 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 28679248064eb..e711c231fbfbe 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,8 +71,6 @@ 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 c1bb7e9117573..a12b919163bc2 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,8 +62,6 @@ 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 cf2a7e86ffb5b..b47740dc24c98 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,8 +49,6 @@ 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] 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 96b1ca259384e..87b0c038cffd3 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,8 +63,6 @@ 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 87f1e68a66824..8998c747bfa6e 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,8 +54,6 @@ 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] 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 e21d790577d2e..62a64a58dee61 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,8 +47,6 @@ 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] export {}; @@ -58,16 +56,16 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -97,7 +95,7 @@ export {}; }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 718 + "size": 706 } 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 b1687380bcd66..ce1bf0e0a2990 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,8 +31,6 @@ 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] export const m = 3; @@ -42,16 +40,16 @@ export declare const m: number; //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../src/a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -81,7 +79,7 @@ export declare const m: number; }, "latestChangedDtsFile": "./src/a.d.ts", "version": "FakeTSVersion", - "size": 764 + "size": 752 } 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 297669277af5e..bbce8363e1f7a 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,8 +47,6 @@ 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] export {}; @@ -66,12 +64,12 @@ export {}; //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/alpha/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../beta/b.ts", "../src/a.ts" ], @@ -81,7 +79,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -125,7 +123,7 @@ export {}; "latestChangedDtsFile": "./src/a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 900 + "size": 888 } 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 b6c71281c2e25..b1fc2abbd8c12 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js @@ -40,8 +40,6 @@ 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] export {}; @@ -51,16 +49,16 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -91,7 +89,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -101,7 +99,7 @@ export {}; ], "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 773 + "size": 761 } 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 b408109014f53..b32e801022f9e 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,8 +45,6 @@ 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] export {}; @@ -64,12 +62,12 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../b.ts", "../a.ts" ], @@ -79,7 +77,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -123,7 +121,7 @@ export {}; "latestChangedDtsFile": "./a.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 874 + "size": 862 } 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 ccb93771d451c..a7c3c92c8b72e 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,8 +47,6 @@ 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] export {}; @@ -58,16 +56,16 @@ export {}; //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../a.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -97,7 +95,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -107,7 +105,7 @@ export {}; ], "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 753 + "size": 741 } 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 74300e9a7b160..f3214e83b398b 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,8 +62,6 @@ 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] export {}; @@ -73,16 +71,16 @@ export {}; //// [/home/src/workspaces/project/reference/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/reference/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../b.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -112,7 +110,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -122,7 +120,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 781 + "size": 769 } 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 7861409cf21d0..22b2d396b22aa 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,8 +62,6 @@ 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] export {}; @@ -73,16 +71,16 @@ export {}; //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../b.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -112,7 +110,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -122,7 +120,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 769 + "size": 757 } 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 c736b0332bfa7..29c5277d60620 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,8 +55,6 @@ 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] export {}; @@ -66,16 +64,16 @@ export {}; //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../b.ts" ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -119,7 +117,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 979 + "size": 967 } 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 fe003a494f198..540d7b4f8007d 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +65,6 @@ 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] export {}; @@ -76,12 +74,12 @@ export {}; //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/workspaces/project/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../tslibs/ts/lib/lib.d.ts", "../../alpha/bin/a.d.ts", "../b.ts" ], @@ -91,7 +89,7 @@ export {}; ] ], "fileInfos": { - "../../../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../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 @@ -144,7 +142,7 @@ export {}; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 985 + "size": 973 } 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 33a10041bbafb..de66fcb737f9b 100644 --- a/tests/baselines/reference/tsc/redirect/when-redirecting-ts-file.js +++ b/tests/baselines/reference/tsc/redirect/when-redirecting-ts-file.js @@ -56,8 +56,6 @@ 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] export const a = 1; 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 c36299833cec1..780aae40c5642 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,8 +34,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/f.js] @@ -47,7 +45,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -67,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -117,7 +115,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b0363735fb855..bb6f011af5a51 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/f.js] @@ -46,7 +44,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -68,15 +66,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ac7bee0f2a34e..be55b213850a0 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---diagnostics.js @@ -31,8 +31,6 @@ CreatingProgramWith:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/f.js] @@ -44,7 +42,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -58,15 +56,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -118,7 +116,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2eed75268e646..9adc06d3d9bad 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +37,6 @@ 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] @@ -50,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -64,15 +62,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -124,7 +122,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3f73df27609d3..e47aec3fdad01 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/with---preserveWatchOutput.js @@ -26,8 +26,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/f.js] @@ -39,7 +37,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -53,15 +51,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -103,7 +101,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9786f0001443e..c45e377716359 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/without---diagnostics-or---extendedDiagnostics.js @@ -27,8 +27,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/f.js] @@ -40,7 +38,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f.ts: *new* {} @@ -53,15 +51,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/f.ts (used version) exitCode:: ExitStatus.undefined @@ -103,7 +101,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 64890b3fdbb96..04ec8f20b138d 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/someone/projects/myproject/file1.js] export {}; @@ -56,7 +54,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/someone/projects/myproject/file1.ts: *new* {} @@ -73,19 +71,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -131,7 +129,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 013c510dbd0fc..d5a233fee2a84 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,8 +34,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/username/projects/project/app/file.js] var a = 10; @@ -48,7 +46,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/username/projects/project/app/file.ts: *new* {} @@ -68,15 +66,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/username/projects/project/app/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/username/projects/project/app/file.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/TS/Lib/lib.d.ts (used version) /home/username/projects/project/app/file.ts (used version) exitCode:: ExitStatus.undefined @@ -121,15 +119,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/username/projects/project/app/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/TS/Lib/lib.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 c7c33d5e632ee..82466f80c75f9 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,8 +28,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/app.js] var x = 1; var y = 2; @@ -45,7 +43,7 @@ PolledWatches:: FsWatches:: /home/src/projects/a/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Program root files: [ @@ -56,15 +54,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/app.ts (used version) exitCode:: ExitStatus.undefined @@ -110,15 +108,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 0856ebb29e8d4..551da1b64f6a9 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,8 +28,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/app.js] var x = 1; var y = 2; @@ -45,7 +43,7 @@ PolledWatches:: FsWatches:: /home/src/projects/a/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Program root files: [ @@ -56,15 +54,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/app.ts (used version) exitCode:: ExitStatus.undefined @@ -110,15 +108,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 d8fd29b39d057..445b1d3e31e85 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,8 +36,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/f1.js] export function Foo() { return 10; } @@ -70,7 +68,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -89,19 +87,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -152,7 +150,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/f1.ts /home/src/projects/a/b/f2.ts /home/src/projects/a/b/f3.ts @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 40892de9f358c..d0f44cdd0d985 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -91,7 +89,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -112,7 +110,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -120,7 +118,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +126,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -182,7 +180,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 25321223c65ba..df9b06789260f 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,8 +57,6 @@ 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"; @@ -129,7 +127,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -151,7 +149,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -263,7 +261,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d51c80fab2ac6..0a8e2a772aa9f 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -115,7 +113,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +121,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -183,7 +181,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -207,7 +205,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fa7878422b108..0c7d31f7d9c68 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -115,7 +113,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +121,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -195,7 +193,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ffbb38eba8adc..43cbeee1b422d 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -115,7 +113,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +121,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -179,7 +177,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -244,7 +242,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -304,7 +302,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -378,7 +376,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -444,7 +442,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2e77437e7eb55..bb661ada09a0d 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -115,7 +113,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +121,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -178,7 +176,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -241,7 +239,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ef18f4d1f19b9..ca4cbbcdcb8d6 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -73,7 +71,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Program root files: [ @@ -85,17 +83,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/file1consumer1.ts (used version) @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts @@ -197,7 +195,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 97d52ea009814..8d6c7c734c327 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,8 +41,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/referenceFile1.js] /// export var x = Foo(); @@ -64,7 +62,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -80,15 +78,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/referenceFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/referenceFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/b/referencefile1.ts (used version) exitCode:: ExitStatus.undefined @@ -149,7 +147,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/referenceFile1.ts Semantic diagnostics in builder refreshed for:: @@ -184,7 +182,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -238,7 +236,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -256,7 +254,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 eb667c9df3bff..853d4c514da77 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,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -67,7 +65,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -84,17 +82,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/b/modulefile1.ts (used version) /home/src/projects/a/b/referencefile1.ts (used version) @@ -148,7 +146,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -169,7 +167,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ebca9fc552e1c..03985025fc207 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -115,7 +113,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +121,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -178,7 +176,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -186,7 +184,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer2.ts @@ -195,7 +193,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 f3d8a90f099a0..f38010d758a7e 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,8 +45,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/moduleFile1.js] export function Foo() { } ; @@ -96,7 +94,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -117,7 +115,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -126,7 +124,7 @@ Program files:: /home/src/projects/a/b/moduleFile2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +133,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -190,7 +188,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -255,7 +253,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/b/moduleFile1.ts /home/src/projects/a/b/file1Consumer1.ts /home/src/projects/a/b/file1Consumer1Consumer1.ts @@ -333,7 +331,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d6303a7623bcb..b7ec21c63e02c 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,8 +35,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/b/file2.js] /// export var t2 = 10; @@ -63,7 +61,7 @@ FsWatches:: {} /home/src/projects/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -80,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/b/file2.ts (used version) /home/src/projects/a/b/file1.ts (used version) @@ -139,7 +137,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c01805253f330..f20eab7c505d4 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,8 +35,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/a.js] let x = 1; @@ -59,7 +57,7 @@ FsWatches:: {} /home/src/projects/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -77,17 +75,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/a.ts (used version) /home/src/projects/a/b.ts (used version) @@ -134,18 +132,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/b.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -191,18 +189,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 efc00d5e0f472..c4dea905b8eeb 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/a.js] let x = 1; @@ -66,7 +64,7 @@ FsWatches:: {} /home/src/projects/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -85,14 +83,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/a.ts (used version) /home/src/projects/a/b.ts (used version) @@ -145,7 +143,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -153,7 +151,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/a/b.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -205,7 +203,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -213,7 +211,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 1eafd7cbd0030..2fa71759eb71a 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/a/out.js] let x = 1; let y = 1; @@ -63,7 +61,7 @@ FsWatches:: {} /home/src/projects/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -82,7 +80,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -139,7 +137,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/a.ts /home/src/projects/a/b.ts @@ -196,7 +194,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1d681f341dc51..8314d501dda0c 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,8 +53,6 @@ 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; @@ -81,7 +79,7 @@ FsWatches:: {} /home/src/projects/a/rootFolder/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -101,14 +99,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -168,7 +166,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/a/rootFolder/project/Scripts/Javascript.js /home/src/projects/a/rootFolder/project/Scripts/TypeScript.ts @@ -176,7 +174,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 dcd4f738b507d..074fb50f5a686 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -55,12 +53,12 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -74,7 +72,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -121,7 +119,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 937 + "size": 925 } @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -165,19 +163,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +211,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -232,7 +230,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -279,7 +277,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 938 + "size": 926 } @@ -297,7 +295,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -339,12 +337,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -358,7 +356,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -405,7 +403,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 937 + "size": 925 } @@ -423,7 +421,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -465,12 +463,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -484,7 +482,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -531,7 +529,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 938 + "size": 926 } @@ -549,7 +547,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 100df4d7006f5..22f05c620b34e 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -62,7 +60,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -91,19 +89,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +148,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -205,7 +203,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -260,7 +258,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ad84bf107073c..ba2d82b2d5c2f 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -68,12 +66,12 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -87,7 +85,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -134,7 +132,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 936 + "size": 924 } @@ -145,7 +143,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -173,19 +171,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -232,12 +230,12 @@ export class C { //// [/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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -251,7 +249,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -324,7 +322,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1320 + "size": 1308 } @@ -342,7 +340,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -398,12 +396,12 @@ export class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -417,7 +415,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -490,7 +488,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1318 + "size": 1306 } @@ -508,7 +506,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -562,12 +560,12 @@ export class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -581,7 +579,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -654,7 +652,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1320 + "size": 1308 } @@ -672,7 +670,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4a9add15cd501..0b694ed1bf3cf 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -102,19 +100,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -174,7 +172,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -243,7 +241,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -310,7 +308,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3460b474f0d82..8d768312fe7ad 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -109,12 +107,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -136,7 +134,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -235,7 +233,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 1789 + "size": 1777 } @@ -246,7 +244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -288,7 +286,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -296,7 +294,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +339,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -368,7 +366,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -451,7 +449,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1805 + "size": 1793 } @@ -471,7 +469,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -527,12 +525,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -554,7 +552,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -637,7 +635,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1808 + "size": 1796 } @@ -657,7 +655,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -707,12 +705,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -734,7 +732,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -817,7 +815,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1805 + "size": 1793 } @@ -837,7 +835,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b6eff8b5fe161..39dcb99ecfb89 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -116,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -149,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -157,7 +155,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -165,7 +163,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -225,7 +223,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -296,7 +294,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -361,7 +359,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1228f5c045fb4..12bf70ff3bf17 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -112,12 +110,12 @@ export class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -143,7 +141,7 @@ export class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -205,7 +203,7 @@ export class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -234,7 +232,7 @@ export class App { ] ], "version": "FakeTSVersion", - "size": 1421 + "size": 1409 } @@ -245,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -274,7 +272,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -285,7 +283,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -333,12 +331,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -364,7 +362,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -450,7 +448,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -479,7 +477,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1951 + "size": 1939 } @@ -496,7 +494,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -550,12 +548,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -581,7 +579,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -667,7 +665,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -696,7 +694,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1949 + "size": 1937 } @@ -713,7 +711,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -763,12 +761,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -794,7 +792,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -880,7 +878,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -909,7 +907,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1951 + "size": 1939 } @@ -926,7 +924,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4c2112dda257d..5f5ad87d69ba0 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -119,7 +117,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -147,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -158,7 +156,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -218,7 +216,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -346,7 +344,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fd6d74d19b413..4fecb4cfb2f44 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -125,12 +123,12 @@ export class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -158,7 +156,7 @@ export class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -228,7 +226,7 @@ export class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -261,7 +259,7 @@ export class App { ] ], "version": "FakeTSVersion", - "size": 1600 + "size": 1588 } @@ -272,7 +270,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -315,7 +313,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -365,12 +363,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -398,7 +396,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -496,7 +494,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -529,7 +527,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2308 + "size": 2296 } @@ -546,7 +544,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -602,12 +600,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -635,7 +633,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -733,7 +731,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -766,7 +764,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2306 + "size": 2294 } @@ -783,7 +781,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -834,12 +832,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -867,7 +865,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -965,7 +963,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -998,7 +996,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2308 + "size": 2296 } @@ -1015,7 +1013,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e707e88a06a38..c66e187f5772e 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -174,7 +172,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -236,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -304,7 +302,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -367,7 +365,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 36b437faf451b..600b818175644 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -59,12 +57,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -78,7 +76,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -130,7 +128,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1007 + "size": 995 } @@ -141,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -175,19 +173,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +221,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -242,7 +240,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -294,7 +292,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1008 + "size": 996 } @@ -313,7 +311,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -355,12 +353,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -374,7 +372,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -426,7 +424,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1007 + "size": 995 } @@ -445,7 +443,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -487,12 +485,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -506,7 +504,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -558,7 +556,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1008 + "size": 996 } @@ -577,7 +575,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2b9543f997037..14bc712067d07 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -66,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -96,19 +94,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +154,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -268,7 +266,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5694f289a09f9..4e5404116a751 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -85,12 +83,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -104,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -164,7 +162,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1194 + "size": 1182 } @@ -175,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -204,19 +202,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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,12 +262,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -283,7 +281,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -343,7 +341,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1196 + "size": 1184 } @@ -362,7 +360,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -418,12 +416,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -437,7 +435,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -497,7 +495,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1194 + "size": 1182 } @@ -516,7 +514,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -572,12 +570,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -591,7 +589,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -651,7 +649,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1196 + "size": 1184 } @@ -670,7 +668,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 faf3102e05d45..4212664c40bc1 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -92,7 +90,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -120,19 +118,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -194,7 +192,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -264,7 +262,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -334,7 +332,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 daad1aaebe0aa..a9c7d651f78db 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -139,12 +137,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -166,7 +164,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -286,7 +284,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 2330 + "size": 2318 } @@ -297,7 +295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -332,7 +330,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -340,7 +338,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -348,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -417,12 +415,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -444,7 +442,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -564,7 +562,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2327 + "size": 2315 } @@ -585,7 +583,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -662,12 +660,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -689,7 +687,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -809,7 +807,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2330 + "size": 2318 } @@ -830,7 +828,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -907,12 +905,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -934,7 +932,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -1054,7 +1052,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2327 + "size": 2315 } @@ -1075,7 +1073,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1493e61a5b9ec..047a5fc8c1117 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -146,7 +144,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -180,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -188,7 +186,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -196,7 +194,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -374,7 +372,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -467,7 +465,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0ca4a84c35a85..7016e41a30ad8 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -143,12 +141,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -174,7 +172,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -261,7 +259,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -290,7 +288,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 1968 + "size": 1956 } @@ -301,7 +299,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -331,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -342,7 +340,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -393,12 +391,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -424,7 +422,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -511,7 +509,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -540,7 +538,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1970 + "size": 1958 } @@ -558,7 +556,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -615,12 +613,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -646,7 +644,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -733,7 +731,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -762,7 +760,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1968 + "size": 1956 } @@ -780,7 +778,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -837,12 +835,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -868,7 +866,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -955,7 +953,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -984,7 +982,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1970 + "size": 1958 } @@ -1002,7 +1000,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e8520d5a70cea..56c18e48f3d9d 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -150,7 +148,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -190,7 +188,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -254,7 +252,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -324,7 +322,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -394,7 +392,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 288b92bb45c5b..ce034a7ebbd1b 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -165,12 +163,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -198,7 +196,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -297,7 +295,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -330,7 +328,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 2325 + "size": 2313 } @@ -341,7 +339,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -373,7 +371,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -385,7 +383,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -437,12 +435,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -470,7 +468,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -569,7 +567,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -602,7 +600,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2327 + "size": 2315 } @@ -620,7 +618,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -678,12 +676,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -711,7 +709,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -810,7 +808,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -843,7 +841,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2325 + "size": 2313 } @@ -861,7 +859,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -919,12 +917,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -952,7 +950,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -1051,7 +1049,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1084,7 +1082,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2327 + "size": 2315 } @@ -1102,7 +1100,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 72996a266a6e2..f84ff6a62d9f1 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -172,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -203,7 +201,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -215,7 +213,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -351,7 +349,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -422,7 +420,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1d23b73c853e2..a48b9fd2898b4 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -55,12 +53,12 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -74,7 +72,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -118,7 +116,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -129,7 +127,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -161,19 +159,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +212,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -233,7 +231,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -291,7 +289,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1020 + "size": 1008 } @@ -308,7 +306,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -352,12 +350,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -371,7 +369,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -415,7 +413,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -432,7 +430,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -481,12 +479,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -500,7 +498,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -558,7 +556,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1020 + "size": 1008 } @@ -575,7 +573,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d26d538d06fc6..a03c86ed112a1 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -62,7 +60,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -90,19 +88,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +151,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -209,7 +207,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -270,7 +268,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0c8f273393e00..059dbf442b5bd 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -68,12 +66,12 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -87,7 +85,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -131,7 +129,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 875 + "size": 863 } @@ -142,7 +140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -169,19 +167,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -228,12 +226,12 @@ export class C { //// [/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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -247,7 +245,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -317,7 +315,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1259 + "size": 1247 } @@ -334,7 +332,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -385,12 +383,12 @@ export class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -404,7 +402,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -456,7 +454,7 @@ export class C { ] }, "version": "FakeTSVersion", - "size": 1063 + "size": 1051 } @@ -473,7 +471,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -529,12 +527,12 @@ export class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -548,7 +546,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -614,7 +612,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1208 + "size": 1196 } @@ -631,7 +629,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9fe666620f3b5..20430fda11cbf 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -101,19 +99,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -172,7 +170,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -235,7 +233,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6b7668d9ba813..3744f183c3bcc 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -109,12 +107,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -136,7 +134,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -232,7 +230,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 1728 + "size": 1716 } @@ -243,7 +241,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -276,7 +274,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -284,7 +282,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -292,7 +290,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -337,12 +335,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -364,7 +362,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -444,7 +442,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1744 + "size": 1732 } @@ -463,7 +461,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -534,12 +532,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -561,7 +559,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -665,7 +663,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2014 + "size": 2002 } @@ -684,7 +682,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -740,12 +738,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -767,7 +765,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -835,7 +833,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1508 + "size": 1496 } @@ -854,7 +852,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1a26c5ad47fde..0521a3396ac60 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -116,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -148,7 +146,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -156,7 +154,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -164,7 +162,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -223,7 +221,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -308,7 +306,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -378,7 +376,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d757fbd3e6ed6..0d14ff16aefd0 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -112,12 +110,12 @@ export class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -143,7 +141,7 @@ export class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -202,7 +200,7 @@ export class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -231,7 +229,7 @@ export class App { ] ], "version": "FakeTSVersion", - "size": 1360 + "size": 1348 } @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -270,7 +268,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -281,7 +279,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -329,12 +327,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -360,7 +358,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -443,7 +441,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -472,7 +470,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1890 + "size": 1878 } @@ -488,7 +486,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -542,12 +540,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -573,7 +571,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -640,7 +638,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -669,7 +667,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1525 + "size": 1513 } @@ -685,7 +683,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -739,12 +737,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -770,7 +768,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -837,7 +835,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -866,7 +864,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1527 + "size": 1515 } @@ -882,7 +880,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e18136260a881..08fd90fdddce9 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -119,7 +117,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -146,7 +144,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -157,7 +155,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -216,7 +214,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -346,7 +344,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1b13df1e66bbf..87b111be0d5e7 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -125,12 +123,12 @@ export class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -158,7 +156,7 @@ export class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -225,7 +223,7 @@ export class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -258,7 +256,7 @@ export class App { ] ], "version": "FakeTSVersion", - "size": 1539 + "size": 1527 } @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -299,7 +297,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -311,7 +309,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -361,12 +359,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -394,7 +392,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -489,7 +487,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -522,7 +520,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 2247 + "size": 2235 } @@ -538,7 +536,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -594,12 +592,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -627,7 +625,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -702,7 +700,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -735,7 +733,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1704 + "size": 1692 } @@ -751,7 +749,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -807,12 +805,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -840,7 +838,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -915,7 +913,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -948,7 +946,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1706 + "size": 1694 } @@ -964,7 +962,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e2348a070e289..4abe3c918ef4a 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -161,7 +159,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -173,7 +171,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -234,7 +232,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -301,7 +299,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +366,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 aa6821744d5fa..2edbcfcf9331b 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -59,12 +57,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -78,7 +76,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -129,7 +127,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 958 + "size": 946 } @@ -140,7 +138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -173,19 +171,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +225,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -246,7 +244,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -311,7 +309,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1102 + "size": 1090 } @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -374,12 +372,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -393,7 +391,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -444,7 +442,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 958 + "size": 946 } @@ -462,7 +460,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -512,12 +510,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -531,7 +529,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -596,7 +594,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1102 + "size": 1090 } @@ -614,7 +612,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 550f977a7aef3..f9e6e90da72b8 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -66,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -95,19 +93,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +158,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -218,7 +216,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -281,7 +279,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 af713cc255dc5..476d018b73d72 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -85,12 +83,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -104,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -163,7 +161,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1145 + "size": 1133 } @@ -174,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -202,19 +200,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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,12 +266,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -287,7 +285,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -360,7 +358,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } @@ -378,7 +376,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -437,12 +435,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -456,7 +454,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -515,7 +513,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1145 + "size": 1133 } @@ -533,7 +531,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -597,12 +595,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -616,7 +614,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -689,7 +687,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } @@ -707,7 +705,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 81355e9bd1960..2d7d034e53fb4 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -92,7 +90,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -119,19 +117,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -270,7 +268,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -347,7 +345,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9bd6f5127a1e9..bfa8582bbdcfe 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -139,12 +137,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -166,7 +164,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -285,7 +283,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 2281 + "size": 2269 } @@ -296,7 +294,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -330,7 +328,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -338,7 +336,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -346,7 +344,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -403,12 +401,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -430,7 +428,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -513,7 +511,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1775 + "size": 1763 } @@ -533,7 +531,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -619,12 +617,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -646,7 +644,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -765,7 +763,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2281 + "size": 2269 } @@ -785,7 +783,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -856,12 +854,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -883,7 +881,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -966,7 +964,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1775 + "size": 1763 } @@ -986,7 +984,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0528972798523..64c15853483f8 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -146,7 +144,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -187,7 +185,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -195,7 +193,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -267,7 +265,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -368,7 +366,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -454,7 +452,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2bf2564d6b6bd..6613b98c19741 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -143,12 +141,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -174,7 +172,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -260,7 +258,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -289,7 +287,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 1919 + "size": 1907 } @@ -300,7 +298,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -329,7 +327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +338,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -395,12 +393,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -426,7 +424,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -512,7 +510,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -541,7 +539,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1921 + "size": 1909 } @@ -558,7 +556,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -623,12 +621,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -654,7 +652,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -740,7 +738,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -769,7 +767,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1919 + "size": 1907 } @@ -786,7 +784,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -851,12 +849,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -882,7 +880,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -968,7 +966,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -997,7 +995,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1921 + "size": 1909 } @@ -1014,7 +1012,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8aed5a9b44739..ebefcd74ba1e3 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -150,7 +148,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -178,7 +176,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -189,7 +187,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -256,7 +254,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -333,7 +331,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -410,7 +408,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5b857ec30972b..f100ecb12120f 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -165,12 +163,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -198,7 +196,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -296,7 +294,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -329,7 +327,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 2276 + "size": 2264 } @@ -340,7 +338,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -371,7 +369,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +381,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -440,12 +438,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -473,7 +471,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -571,7 +569,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -604,7 +602,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2278 + "size": 2266 } @@ -621,7 +619,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -689,12 +687,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -722,7 +720,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -820,7 +818,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -853,7 +851,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2276 + "size": 2264 } @@ -870,7 +868,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -938,12 +936,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -971,7 +969,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -1069,7 +1067,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1102,7 +1100,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2278 + "size": 2266 } @@ -1119,7 +1117,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e810687e3f3c6..a3e7d1b86de45 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -172,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -202,7 +200,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -214,7 +212,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -283,7 +281,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -363,7 +361,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -443,7 +441,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d1aad2027d3ed..40a8698ce3323 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -55,12 +53,12 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -74,7 +72,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -118,7 +116,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -129,7 +127,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -162,19 +160,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +213,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -234,7 +232,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -292,7 +290,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1020 + "size": 1008 } @@ -310,7 +308,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -354,12 +352,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -373,7 +371,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -417,7 +415,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 876 + "size": 864 } @@ -435,7 +433,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -484,12 +482,12 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -503,7 +501,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -561,7 +559,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1020 + "size": 1008 } @@ -579,7 +577,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ed6215eb0c850..28a0baa019554 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -62,7 +60,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -91,19 +89,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +153,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -212,7 +210,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -274,7 +272,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3897f779339b7..b6237ec79ad6a 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -68,12 +66,12 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -87,7 +85,7 @@ console.log(b.c.d); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -131,7 +129,7 @@ console.log(b.c.d); ] }, "version": "FakeTSVersion", - "size": 875 + "size": 863 } @@ -142,7 +140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -170,19 +168,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -227,12 +225,12 @@ export class C { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -246,7 +244,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -308,7 +306,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1104 + "size": 1092 } @@ -326,7 +324,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -376,12 +374,12 @@ export class C { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -395,7 +393,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -443,7 +441,7 @@ export class C { ] }, "version": "FakeTSVersion", - "size": 959 + "size": 947 } @@ -461,7 +459,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -516,12 +514,12 @@ export class C { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -535,7 +533,7 @@ export class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -597,7 +595,7 @@ export class C { ] ], "version": "FakeTSVersion", - "size": 1104 + "size": 1092 } @@ -615,7 +613,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b67554d7d1c1c..0ce2fd01b37a9 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -102,19 +100,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -172,7 +170,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -235,7 +233,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d510c2343c049..9f4c737282e8a 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -109,12 +107,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -136,7 +134,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -232,7 +230,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 1728 + "size": 1716 } @@ -243,7 +241,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -277,7 +275,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -285,7 +283,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -293,7 +291,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -334,12 +332,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -361,7 +359,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -425,7 +423,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1387 + "size": 1375 } @@ -445,7 +443,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -515,12 +513,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -542,7 +540,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -642,7 +640,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1893 + "size": 1881 } @@ -662,7 +660,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -717,12 +715,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -744,7 +742,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -808,7 +806,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1387 + "size": 1375 } @@ -828,7 +826,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0f9dce2dd09f8..18b4df9ee8ea7 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -116,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -149,7 +147,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -157,7 +155,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -165,7 +163,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -221,7 +219,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -306,7 +304,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -376,7 +374,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6a19b1460d320..2181059929d3a 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -112,12 +110,12 @@ export class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -143,7 +141,7 @@ export class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -202,7 +200,7 @@ export class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -231,7 +229,7 @@ export class App { ] ], "version": "FakeTSVersion", - "size": 1360 + "size": 1348 } @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -271,7 +269,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -282,7 +280,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -325,12 +323,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -356,7 +354,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -419,7 +417,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -448,7 +446,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1450 + "size": 1438 } @@ -465,7 +463,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -518,12 +516,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -549,7 +547,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -612,7 +610,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -641,7 +639,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1448 + "size": 1436 } @@ -658,7 +656,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -711,12 +709,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -742,7 +740,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -805,7 +803,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -834,7 +832,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1450 + "size": 1438 } @@ -851,7 +849,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fc2562e0489ec..cd504d913153a 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -119,7 +117,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -147,7 +145,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -158,7 +156,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +276,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +341,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9a613834b4fd5..b5530685c249e 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -125,12 +123,12 @@ export class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -158,7 +156,7 @@ export class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -225,7 +223,7 @@ export class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -258,7 +256,7 @@ export class App { ] ], "version": "FakeTSVersion", - "size": 1539 + "size": 1527 } @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -300,7 +298,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -312,7 +310,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -356,12 +354,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -389,7 +387,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -460,7 +458,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -493,7 +491,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1629 + "size": 1617 } @@ -510,7 +508,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -565,12 +563,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -598,7 +596,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -669,7 +667,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -702,7 +700,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1627 + "size": 1615 } @@ -719,7 +717,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -774,12 +772,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -807,7 +805,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -878,7 +876,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -911,7 +909,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1629 + "size": 1617 } @@ -928,7 +926,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1b4b420a145ac..79656e782f976 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -174,7 +172,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -297,7 +295,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -364,7 +362,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8619bf9b6fdeb..59cb36e370332 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -59,12 +57,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -78,7 +76,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -129,7 +127,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 958 + "size": 946 } @@ -140,7 +138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -174,19 +172,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +226,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -247,7 +245,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -312,7 +310,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1102 + "size": 1090 } @@ -331,7 +329,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -376,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -395,7 +393,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -446,7 +444,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 958 + "size": 946 } @@ -465,7 +463,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -515,12 +513,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.d.ts", "./b.d.ts", "./a.ts" @@ -534,7 +532,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -599,7 +597,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1102 + "size": 1090 } @@ -618,7 +616,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 51c4f1e38aaed..e178a7c4888ed 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] import { B } from './b'; let b = new B(); @@ -66,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -96,19 +94,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +160,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -221,7 +219,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.d.ts /user/username/projects/myproject/b.d.ts /user/username/projects/myproject/a.ts @@ -285,7 +283,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 24b5ef1ca049f..97ce43a6cd636 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -85,12 +83,12 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -104,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -163,7 +161,7 @@ export {}; ] }, "version": "FakeTSVersion", - "size": 1145 + "size": 1133 } @@ -174,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -203,19 +201,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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,12 +266,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -287,7 +285,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -360,7 +358,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } @@ -379,7 +377,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -437,12 +435,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -456,7 +454,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -515,7 +513,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1145 + "size": 1133 } @@ -534,7 +532,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -597,12 +595,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./c.ts", "./b.ts", "./a.ts" @@ -616,7 +614,7 @@ export declare class C { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -689,7 +687,7 @@ export declare class C { ] ], "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } @@ -708,7 +706,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 010634fe4a2e4..542d1f5443a82 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/c.js] export class C { d = 1; @@ -92,7 +90,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -120,19 +118,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -199,7 +197,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -271,7 +269,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/c.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -348,7 +346,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b2b8e9faf932d..a850d858de1ac 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -139,12 +137,12 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -166,7 +164,7 @@ import "./d"; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -285,7 +283,7 @@ import "./d"; ] ], "version": "FakeTSVersion", - "size": 2281 + "size": 2269 } @@ -296,7 +294,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -331,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -339,7 +337,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -347,7 +345,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -403,12 +401,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -430,7 +428,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -513,7 +511,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1775 + "size": 1763 } @@ -534,7 +532,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -619,12 +617,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -646,7 +644,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -765,7 +763,7 @@ export interface Coords { ] ], "version": "FakeTSVersion", - "size": 2281 + "size": 2269 } @@ -786,7 +784,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -856,12 +854,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts", "./c.ts", @@ -883,7 +881,7 @@ export interface Coords { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -966,7 +964,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 1775 + "size": 1763 } @@ -987,7 +985,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5bb362c65b882..8d035f1c33f44 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -146,7 +144,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -180,7 +178,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -188,7 +186,7 @@ Program files:: /user/username/projects/myproject/e.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -196,7 +194,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -268,7 +266,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -369,7 +367,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/c.ts @@ -455,7 +453,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 08399937c323b..8e65d9b7baccc 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -143,12 +141,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -174,7 +172,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -260,7 +258,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -289,7 +287,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 1919 + "size": 1907 } @@ -300,7 +298,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -330,7 +328,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +339,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -395,12 +393,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -426,7 +424,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -512,7 +510,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -541,7 +539,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1921 + "size": 1909 } @@ -559,7 +557,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -623,12 +621,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -654,7 +652,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -740,7 +738,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -769,7 +767,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1919 + "size": 1907 } @@ -787,7 +785,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -851,12 +849,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -882,7 +880,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -968,7 +966,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -997,7 +995,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 1921 + "size": 1909 } @@ -1015,7 +1013,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e77a239577867..6bbc1f1564cff 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -150,7 +148,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -190,7 +188,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -257,7 +255,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -334,7 +332,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -411,7 +409,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3e0aff60b93fa..e8bb1d6254f72 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -165,12 +163,12 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -198,7 +196,7 @@ export declare class App { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -296,7 +294,7 @@ export declare class App { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -329,7 +327,7 @@ export declare class App { ] ], "version": "FakeTSVersion", - "size": 2276 + "size": 2264 } @@ -340,7 +338,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -372,7 +370,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -384,7 +382,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -440,12 +438,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -473,7 +471,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -571,7 +569,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -604,7 +602,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2278 + "size": 2266 } @@ -622,7 +620,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -689,12 +687,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -722,7 +720,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -820,7 +818,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -853,7 +851,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2276 + "size": 2264 } @@ -871,7 +869,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -938,12 +936,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib1/tools/toolsinterface.ts", "./lib1/tools/public.ts", "./lib1/public.ts", @@ -971,7 +969,7 @@ export interface ITest { ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -1069,7 +1067,7 @@ export interface ITest { }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1102,7 +1100,7 @@ export interface ITest { ] ], "version": "FakeTSVersion", - "size": 2278 + "size": 2266 } @@ -1120,7 +1118,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 39d7e356be1dc..424516b167afa 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,8 +79,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] export {}; @@ -172,7 +170,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -203,7 +201,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -215,7 +213,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -364,7 +362,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -444,7 +442,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e2f6ba9f16cac..5be39c4dfd37a 100644 --- a/tests/baselines/reference/tscWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tscWatch/extends/configDir-template.js @@ -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.es2024.full.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 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -189,8 +189,6 @@ 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] export const x = 10; @@ -243,7 +241,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -286,7 +284,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -295,7 +293,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -395,8 +393,8 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 3 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -435,7 +433,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -479,7 +477,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6e500261d4070..8ffbda7c797cc 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +68,6 @@ 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] export const x = 10; @@ -79,16 +77,16 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export declare const x = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 790 + "size": 778 } @@ -131,7 +129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/user/projects/myconfigs/node_modules/@something/tsconfig-base/tsconfig.json: *new* {} @@ -159,15 +157,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/user/projects/myproject/src/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/user/projects/myproject/src/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 ab82060d96ef1..f144a2e37d3ff 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,8 +77,6 @@ index.tsx -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/index.js] import { jsx as _jsx } from "react/jsx-runtime"; export const App = () => _jsx("div", { propA: true }); @@ -94,7 +92,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -128,14 +126,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 d8d1f5b16d435..2ed0c15fca087 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' Imported via "@this/package" from file 'index.ts' @@ -71,8 +71,6 @@ index.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/Users/name/projects/web/dist/index.js] import * as me from "@this/package"; me.thing(); @@ -84,12 +82,12 @@ export declare function thing(): void; //// [/Users/name/projects/web/dist/tsconfig.tsbuildinfo] -{"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"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../index.ts" ], "fileIdsList": [ @@ -98,7 +96,7 @@ export declare function thing(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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, @@ -139,7 +137,7 @@ export declare function thing(): void; }, "latestChangedDtsFile": "../types/index.d.ts", "version": "FakeTSVersion", - "size": 971 + "size": 959 } @@ -162,7 +160,7 @@ FsWatches:: {} /Users/name/projects/web/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -185,15 +183,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /Users/name/projects/web/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /Users/name/projects/web/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 2becc553e83df..61c48476d02d0 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.es2024.full.d.ts - Default library for target 'es2024' +../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -53,8 +53,6 @@ project/b.ts -//// [c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [c:/workspaces/solution/project/a.js] export const a = 1; export const b = 2; @@ -77,7 +75,7 @@ c:/workspaces/solution/project/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/workspaces/solution/project/a.ts: *new* {} @@ -103,17 +101,17 @@ Program options: { } Program structureReused: Not Program files:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +c:/home/src/tslibs/ts/lib/lib.d.ts (used version) c:/workspaces/solution/project/a.ts (used version) c:/workspaces/solution/project/b.ts (used version) @@ -142,8 +140,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -176,7 +174,7 @@ Program options: { } Program structureReused: Completely Program files:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.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 926f34872e45b..0c66563b35aa8 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.es2024.full.d.ts - Default library for target 'es2024' +../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -53,8 +53,6 @@ project/b.ts -//// [C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [C:/workspaces/solution/project/a.js] export const a = 1; export const b = 2; @@ -77,7 +75,7 @@ C:/workspaces/solution/project/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +C:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} C:/workspaces/solution/project/a.ts: *new* {} @@ -103,17 +101,17 @@ Program options: { } Program structureReused: Not Program files:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +C:/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +C:/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +c:/home/src/tslibs/ts/lib/lib.d.ts (used version) c:/workspaces/solution/project/a.ts (used version) c:/workspaces/solution/project/b.ts (used version) @@ -142,8 +140,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/a.ts Matched by default include pattern '**/*' Imported via "C:/workspaces/solution/project/a" from file 'project/b.ts' @@ -176,7 +174,7 @@ Program options: { } Program structureReused: Completely Program files:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +C:/home/src/tslibs/TS/Lib/lib.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 a98b37ee2e13f..b5478e89eeb59 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,8 +83,6 @@ 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"; @@ -139,7 +137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/XY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -226,8 +224,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -305,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 aec0f4bb95875..eb1018c2cf62f 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -72,8 +72,6 @@ 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] export const a = 1; export const b = 2; @@ -99,7 +97,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -129,19 +127,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -183,8 +181,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 77ba0aff6dc2b..489df6fb26da9 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/logger.js] export class logger { } @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/another.ts: *new* {} @@ -82,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/logger.ts (used version) /user/username/projects/myproject/another.ts (used version) @@ -148,7 +146,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 74df8176efb64..664fdf513c63d 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,8 +83,6 @@ 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"; @@ -139,7 +137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/XY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -226,8 +224,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -305,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ea3a9a0003e3d..b0c3bc86a12ea 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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +307,6 @@ src/oneMore.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/src/anotherFile.js] export {}; @@ -349,7 +347,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -372,21 +370,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +650,8 @@ Output::    ~~~~~~~~~~ File is included via import here. -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 +691,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +917,8 @@ Output::    ~~~~~~~~~~~~~~~~~~ File is included via import here. -../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library 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 +957,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4b084d560ec7f..ebc2b7afc8685 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -72,8 +72,6 @@ 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] export const a = 1; export const b = 2; @@ -99,7 +97,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -129,19 +127,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -183,8 +181,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f39144dc08d50..5b67ba07ec400 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,8 +83,6 @@ 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"; @@ -139,7 +137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/b.ts: *new* {} @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/xY/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -226,8 +224,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -305,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 266f07442a6e4..cf9a1564959b3 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -80,8 +80,6 @@ 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] export const a = 1; export const b = 2; @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -137,19 +135,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -199,8 +197,8 @@ CreatingProgramWith:: 2 import { a } from "./xY";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -243,7 +241,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 13650c0fadae8..55e880652e764 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,8 +83,6 @@ 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"; @@ -139,7 +137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/Xy/a.ts: *new* {} @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/Xy/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -226,8 +224,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -305,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 275647c1565e4..99f2f50b0d14a 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -80,8 +80,6 @@ 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] export const a = 1; export const b = 2; @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -137,19 +135,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -199,8 +197,8 @@ CreatingProgramWith:: 2 import { a } from "./Xy";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -243,7 +241,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d64f18d21e8ae..8d467b95d5b4f 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -83,8 +83,6 @@ 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"; @@ -139,7 +137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/Xy/a.ts: *new* {} @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/Xy/a.ts /user/username/projects/myproject/link/a.ts /user/username/projects/myproject/b.ts @@ -226,8 +224,8 @@ CreatingProgramWith:: 5 "module": "system"    ~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -305,7 +303,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e30811dc2d46e..6a3745c9a21f5 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -80,8 +80,6 @@ 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] export const a = 1; export const b = 2; @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -137,19 +135,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -199,8 +197,8 @@ CreatingProgramWith:: 2 import { a } from "./Xy";    ~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -243,7 +241,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 709be0c9f4a2a..af106cf05917e 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 @@ -74,8 +74,8 @@ Output::    ~~~~~~~~~~~ File is included via import here. -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ModuleC.ts Imported via "./ModuleC" from file 'moduleA.ts' Imported via "./moduleC" from file 'moduleB.ts' @@ -88,8 +88,6 @@ moduleB.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/ModuleC.js] export const x = 10; @@ -110,7 +108,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/ModuleC.ts: *new* {} @@ -139,19 +137,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -216,8 +214,8 @@ Output::    ~~~~~~~~~~~ File is included via import here. -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ModuleC.ts Imported via "./ModuleC" from file 'moduleA.ts' Imported via "./moduleC" from file 'moduleB.ts' @@ -247,7 +245,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 92ca5d93e0210..5b9573c4fd92e 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/logger.js] export class logger { } @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/another.ts: *new* {} @@ -82,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/logger.ts (used version) /user/username/projects/myproject/another.ts (used version) @@ -141,7 +139,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b1fce399e47c9..1f7663c5505cb 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js @@ -106,8 +106,8 @@ File '/package.json' does not exist according to earlier cached lookups. 2 "compilerOptions": {    ~~~~~~~~~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -118,8 +118,6 @@ node_modules/@types/yargs/index.d.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/Users/name/projects/web/src/bin.js] export {}; @@ -156,7 +154,7 @@ FsWatches:: {} /Users/name/projects/web/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -182,7 +180,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -190,7 +188,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) 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 97a026228d498..b5b5b40716832 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -36,8 +36,6 @@ 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) { @@ -49,12 +47,12 @@ const classnames_1 = __importDefault(require("classnames")); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -69,7 +67,7 @@ const classnames_1 = __importDefault(require("classnames")); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -119,7 +117,7 @@ const classnames_1 = __importDefault(require("classnames")); ] }, "version": "FakeTSVersion", - "size": 1002 + "size": 990 } @@ -134,19 +132,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -173,12 +171,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -193,7 +191,7 @@ Found 1 error in src/index.ts:1 ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -261,7 +259,7 @@ Found 1 error in src/index.ts:1 ] ], "version": "FakeTSVersion", - "size": 1198 + "size": 1186 } @@ -276,7 +274,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e6452f7142208..ab423c4446bd6 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -41,8 +41,6 @@ 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) { @@ -54,12 +52,12 @@ const classnames_1 = __importDefault(require("classnames")); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -74,7 +72,7 @@ const classnames_1 = __importDefault(require("classnames")); ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -124,7 +122,7 @@ const classnames_1 = __importDefault(require("classnames")); ] }, "version": "FakeTSVersion", - "size": 1002 + "size": 990 } @@ -143,7 +141,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -181,19 +179,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -222,7 +220,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -263,12 +261,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/classnames/index.d.ts", "./src/index.ts", "./src/types/classnames.d.ts" @@ -283,7 +281,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -351,7 +349,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1198 + "size": 1186 } @@ -370,7 +368,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -405,7 +403,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e7c289a0566be..76ca5ae5bf570 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,19 +38,17 @@ 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] export const x = { ...{} }; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/tslib/index.d.ts", "./index.tsx" ], @@ -60,7 +58,7 @@ export const x = { ...{} }; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -98,7 +96,7 @@ export const x = { ...{} }; ] }, "version": "FakeTSVersion", - "size": 819 + "size": 807 } @@ -112,17 +110,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/node_modules/tslib/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -139,16 +137,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.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"} +{"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},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -176,7 +174,7 @@ Output:: "importHelpers": true }, "version": "FakeTSVersion", - "size": 719 + "size": 707 } @@ -190,7 +188,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: 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 3ecdb0ebdefdb..3f84dfb185fa6 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,8 +43,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/index.js] export const x = { ...{} }; @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -88,17 +86,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/node_modules/tslib/index.d.ts (used version) /users/username/projects/project/index.tsx (used version) @@ -117,7 +115,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -157,7 +155,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -184,15 +182,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 9b41589476e5c..0706acda29857 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,8 +40,6 @@ 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 }); @@ -52,16 +50,16 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -101,7 +99,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 960 + "size": 948 } @@ -117,15 +115,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/index.tsx (used version) exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated @@ -159,12 +157,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -174,7 +172,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -218,7 +216,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1233 + "size": 1221 } @@ -234,7 +232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 19a8af253c6d6..a650a6b1bd03f 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,8 +42,6 @@ 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 }); @@ -54,16 +52,16 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -103,7 +101,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 960 + "size": 948 } @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -149,15 +147,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/index.tsx (used version) exitCode:: ExitStatus.undefined @@ -197,7 +195,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -225,12 +223,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -240,7 +238,7 @@ Output:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -284,7 +282,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1233 + "size": 1221 } @@ -297,7 +295,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -331,7 +329,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9c0e4dc3f2d15..2772d616308d3 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,8 +52,6 @@ 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 }); @@ -64,12 +62,12 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -79,7 +77,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -119,7 +117,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1117 + "size": 1105 } @@ -135,17 +133,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -170,16 +168,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -223,7 +221,7 @@ Found 1 error in index.tsx:1 ] ], "version": "FakeTSVersion", - "size": 1038 + "size": 1026 } @@ -239,7 +237,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 173b7ecea4279..505b0098aa501 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,8 +57,6 @@ 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 }); @@ -69,12 +67,12 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -84,7 +82,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -124,7 +122,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1117 + "size": 1105 } @@ -137,7 +135,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -174,17 +172,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -205,7 +203,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -244,16 +242,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.tsx" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -297,7 +295,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1038 + "size": 1026 } @@ -310,7 +308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -340,7 +338,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8f8182ad4c5b1..5ea9e2dd561c3 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -70,16 +70,14 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -i --explainFiles Output:: -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 }); @@ -90,12 +88,12 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -105,7 +103,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -145,7 +143,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1117 + "size": 1105 } @@ -162,17 +160,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -199,8 +197,8 @@ Output:: 1 export const App = () =>
;    ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -220,12 +218,12 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/preact/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -235,7 +233,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -304,7 +302,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1593 + "size": 1581 } @@ -321,12 +319,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4cde61cf08aa2..fe98fdcf20e8e 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,8 +83,6 @@ 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 }); @@ -95,12 +93,12 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/react/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -110,7 +108,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -150,7 +148,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1117 + "size": 1105 } @@ -163,7 +161,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -201,17 +199,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -240,7 +238,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -274,8 +272,8 @@ Output:: 1 export const App = () =>
;    ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -294,12 +292,12 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./node_modules/preact/jsx-runtime/index.d.ts", "./index.tsx" ], @@ -309,7 +307,7 @@ exports.App = App; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -378,7 +376,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1593 + "size": 1581 } @@ -391,7 +389,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -426,12 +424,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a32bc43751619..a2ad91a6497bd 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,8 +42,6 @@ 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"; @@ -63,17 +61,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -119,7 +117,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 846 + "size": 834 } @@ -135,17 +133,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -179,17 +177,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -239,7 +237,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 915 + "size": 903 } @@ -255,7 +253,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 14dd6a1671e54..7673fbdba0516 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,8 +44,6 @@ 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"; @@ -65,17 +63,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -121,7 +119,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 846 + "size": 834 } @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -158,17 +156,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -188,7 +186,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -224,17 +222,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -284,7 +282,7 @@ define(["require", "exports"], function (require, exports) { ] ], "version": "FakeTSVersion", - "size": 915 + "size": 903 } @@ -295,7 +293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -321,7 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 43b7b643fd216..6d7a88da066a5 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,8 +34,6 @@ 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"; @@ -55,17 +53,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -97,7 +95,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 686 + "size": 674 } @@ -113,17 +111,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -149,17 +147,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -195,7 +193,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 755 + "size": 743 } @@ -211,7 +209,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fe7176aaa66d9..1e464b0c5fcd6 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,8 +39,6 @@ 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"; @@ -60,17 +58,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -102,7 +100,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 686 + "size": 674 } @@ -113,7 +111,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -139,17 +137,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -169,7 +167,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -200,17 +198,17 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -246,7 +244,7 @@ define(["require", "exports"], function (require, exports) { "module": 2 }, "version": "FakeTSVersion", - "size": 755 + "size": 743 } @@ -257,7 +255,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -283,7 +281,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7cf42359f7d14..73d91647ebd64 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,8 +35,6 @@ 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"; @@ -53,17 +51,17 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../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; };", + "../../../../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; };", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;" }, @@ -82,7 +80,7 @@ define("file2", ["require", "exports"], function (require, exports) { "outFile": "./out.js" }, "version": "FakeTSVersion", - "size": 669 + "size": 657 } @@ -99,12 +97,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b7a8d9b6aa33d..f5195729a96bf 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,8 +40,6 @@ 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"; @@ -58,17 +56,17 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../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; };", + "../../../../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; };", "./file1.ts": "-10726455937-export const x = 10;", "./file2.ts": "-13729954175-export const y = 20;" }, @@ -87,7 +85,7 @@ define("file2", ["require", "exports"], function (require, exports) { "outFile": "./out.js" }, "version": "FakeTSVersion", - "size": 669 + "size": 657 } @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -125,12 +123,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e13dd8b9e456d..3595d5a76fb6f 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,8 +40,6 @@ Found 1 error in file2.ts:1 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/file1.js] const x = 10; @@ -51,17 +49,17 @@ const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -114,7 +112,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -128,17 +126,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -168,17 +166,17 @@ 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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -233,7 +231,7 @@ const z = 10; ] ], "version": "FakeTSVersion", - "size": 980 + "size": 968 } @@ -247,12 +245,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 12acfffcd81c3..3518fbb8c0f2e 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/file1.js] const x = 10; @@ -53,17 +51,17 @@ const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -116,7 +114,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 880 + "size": 868 } @@ -127,7 +125,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -151,17 +149,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -181,7 +179,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -213,17 +211,17 @@ 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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -278,7 +276,7 @@ const z = 10; ] ], "version": "FakeTSVersion", - "size": 980 + "size": 968 } @@ -289,7 +287,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -313,12 +311,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 893a10b717721..56fe22a4a35a8 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,8 +32,6 @@ 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] const x = 10; @@ -43,17 +41,17 @@ const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -92,7 +90,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 721 + "size": 709 } @@ -107,17 +105,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -139,17 +137,17 @@ const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -190,7 +188,7 @@ const z = 10; ] ], "version": "FakeTSVersion", - "size": 820 + "size": 808 } @@ -205,12 +203,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ff9317b58f5d5..25e3c999f6f62 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/file1.js] const x = 10; @@ -48,17 +46,17 @@ const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -97,7 +95,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 721 + "size": 709 } @@ -108,7 +106,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -133,17 +131,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -163,7 +161,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -190,17 +188,17 @@ const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -241,7 +239,7 @@ const z = 10; ] ], "version": "FakeTSVersion", - "size": 820 + "size": 808 } @@ -252,7 +250,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -277,12 +275,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2f1843803c93d..29c63891b6f6f 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,8 +32,6 @@ 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] const x = 10; @@ -43,17 +41,17 @@ const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -92,7 +90,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 721 + "size": 709 } @@ -106,17 +104,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -138,17 +136,17 @@ const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -189,7 +187,7 @@ const z = 10; ] ], "version": "FakeTSVersion", - "size": 820 + "size": 808 } @@ -203,12 +201,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 89e3c85962fb8..3c40397f4dfc8 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/file1.js] const x = 10; @@ -48,17 +46,17 @@ const y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -97,7 +95,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 721 + "size": 709 } @@ -108,7 +106,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -132,17 +130,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) /users/username/projects/project/file2.ts (used version) @@ -162,7 +160,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -189,17 +187,17 @@ const z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -240,7 +238,7 @@ const z = 10; ] ], "version": "FakeTSVersion", - "size": 820 + "size": 808 } @@ -251,7 +249,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -275,12 +273,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d1faca5f6c98c..4b3749a444bb5 100644 --- a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js @@ -34,9 +34,7 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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* +{"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"} //// [/home/src/projects/project/main.js] export const x = 10; @@ -45,11 +43,11 @@ export const x = 10; //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./main.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -70,7 +68,7 @@ export const x = 10; ] ], "version": "FakeTSVersion", - "size": 596 + "size": 584 } @@ -85,7 +83,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -102,15 +100,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 2487043d0b206..f7a63d7817d9e 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,24 +32,22 @@ 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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./globals.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -88,7 +86,7 @@ console.log(Config.value); ] ], "version": "FakeTSVersion", - "size": 775 + "size": 763 } @@ -102,17 +100,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/globals.d.ts (used version) /users/username/projects/project/index.ts (used version) @@ -136,16 +134,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -186,7 +184,7 @@ Found 1 error in index.ts:1 ] ], "version": "FakeTSVersion", - "size": 803 + "size": 791 } @@ -199,11 +197,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 508924e25f8f0..d63c35e0dc2e5 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,24 +37,22 @@ 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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./globals.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -93,7 +91,7 @@ console.log(Config.value); ] ], "version": "FakeTSVersion", - "size": 775 + "size": 763 } @@ -104,7 +102,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/globals.d.ts: *new* {} @@ -128,17 +126,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/globals.d.ts (used version) /users/username/projects/project/index.ts (used version) @@ -156,7 +154,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/globals.d.ts: {} @@ -184,16 +182,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.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"} +{"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"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -234,7 +232,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 803 + "size": 791 } @@ -245,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/index.ts: *new* {} @@ -266,11 +264,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 710d6c4f2b28d..3bbdb2e58d79d 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -41,25 +41,23 @@ Found 1 error in tsconfig.json:4 -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/out.js] const x = 10; const y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../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; };", + "../../../../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; };", "./file1.ts": "5029505981-const x = 10;", "./file2.ts": "2026007743-const y = 20;" }, @@ -78,7 +76,7 @@ const y = 20; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -91,7 +89,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 677 + "size": 665 } @@ -106,7 +104,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9b31d6a5fb310..fc350313df361 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -43,25 +43,23 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/out.js] const x = 10; const y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./file1.ts", "./file2.ts" ], "fileInfos": { - "../../../../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; };", + "../../../../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; };", "./file1.ts": "5029505981-const x = 10;", "./file2.ts": "2026007743-const y = 20;" }, @@ -80,7 +78,7 @@ const y = 20; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -93,7 +91,7 @@ const y = 20; ] ], "version": "FakeTSVersion", - "size": 677 + "size": 665 } @@ -104,7 +102,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -129,7 +127,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0fcdf68ded2da..91e570db1c6a0 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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 ../../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,8 +132,6 @@ 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] export const file = 10; @@ -160,13 +158,13 @@ export declare const x = "type1"; //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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", @@ -174,22 +172,22 @@ export declare const x = "type1"; "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.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 }, - "../../../tslibs/ts/lib/lib.es2024.full.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 }, "./core.d.ts": { @@ -246,7 +244,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1298 + "size": 1286 } @@ -265,7 +263,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/tslibs/TS/Lib/lib.scripthost.d.ts: *new* {} @@ -305,8 +303,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 @@ -314,8 +312,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 @@ -323,13 +321,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.scripthost.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.scripthost.d.ts (used version) exitCode:: ExitStatus.undefined @@ -372,10 +370,10 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/worksp 2 ///    ~~~~~~~~~~ +../../tslibs/TS/Lib/lib.d.ts + Default library ../../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 @@ -401,13 +399,13 @@ export declare const xyz = 10; //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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", @@ -415,22 +413,22 @@ export declare const xyz = 10; "./utils.d.ts" ], "fileInfos": { - "../../../tslibs/ts/lib/lib.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.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 }, - "../../../tslibs/ts/lib/lib.es2024.full.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 }, "./core.d.ts": { @@ -487,7 +485,7 @@ export declare const xyz = 10; "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1351 + "size": 1339 } @@ -511,8 +509,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 @@ -569,10 +567,10 @@ FileWatcher:: Close:: WatchInfo: /home/src/workspace/projects/project1/core.d.ts 2 ///    ~~~~~~~~~~ +../../tslibs/TS/Lib/lib.d.ts + Default library ../../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 @@ -586,35 +584,35 @@ project1/utils.d.ts //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.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 }, - "../../../tslibs/ts/lib/lib.es2024.full.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 }, "./file.ts": { @@ -666,7 +664,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1298 + "size": 1286 } @@ -685,7 +683,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/tslibs/TS/Lib/lib.scripthost.d.ts: {} @@ -727,8 +725,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 @@ -776,10 +774,10 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/worksp 1 ///    ~~~~~~~~~~ +../../tslibs/TS/Lib/lib.d.ts + Default library ../../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 @@ -798,35 +796,35 @@ project1/utils.d.ts //// [/home/src/workspace/projects/project1/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/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.scripthost.d.ts": { + "../../../tslibs/ts/lib/lib.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 }, - "../../../tslibs/ts/lib/lib.es2024.full.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 }, "./file.ts": { @@ -878,7 +876,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts", "errors": true, "version": "FakeTSVersion", - "size": 1261 + "size": 1249 } @@ -901,8 +899,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 @@ -973,12 +971,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 ../../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 @@ -999,20 +997,29 @@ 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.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"} +{"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"} //// [/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 { }", @@ -1031,15 +1038,6 @@ 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;", @@ -1088,7 +1086,7 @@ project1/utils.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1375 + "size": 1363 } @@ -1107,7 +1105,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/tslibs/TS/Lib/lib.scripthost.d.ts: {} @@ -1147,18 +1145,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/moduleResolution/alternateResult.js b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js index dce38a9473287..d29ab1aa866ef 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,19 +380,17 @@ 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] export {}; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/foo2/index.d.ts", "./node_modules/@types/bar2/index.d.ts", "./index.mts" @@ -404,7 +402,7 @@ export {}; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -460,7 +458,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -477,7 +475,7 @@ export {}; ] ], "version": "FakeTSVersion", - "size": 1092 + "size": 1080 } @@ -516,7 +514,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -541,7 +539,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -549,7 +547,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -723,7 +721,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -880,7 +878,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1047,7 +1045,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1193,7 +1191,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1317,12 +1315,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../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", @@ -1336,7 +1334,7 @@ File '/package.json' does not exist according to earlier cached lookups. ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -1403,7 +1401,7 @@ File '/package.json' does not exist according to earlier cached lookups. }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1424,7 +1422,7 @@ File '/package.json' does not exist according to earlier cached lookups. ] ], "version": "FakeTSVersion", - "size": 1252 + "size": 1240 } @@ -1465,7 +1463,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1488,7 +1486,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1611,12 +1609,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../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", @@ -1632,7 +1630,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -1709,7 +1707,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -1734,7 +1732,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu ] ], "version": "FakeTSVersion", - "size": 1366 + "size": 1354 } @@ -1779,7 +1777,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1802,7 +1800,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1975,12 +1973,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../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", @@ -1994,7 +1992,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -2061,7 +2059,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2082,7 +2080,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu ] ], "version": "FakeTSVersion", - "size": 1243 + "size": 1231 } @@ -2123,7 +2121,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -2150,7 +2148,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2296,12 +2294,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.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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./node_modules/foo/index.d.ts", "./node_modules/@types/bar/index.d.ts", "./index.mts" @@ -2313,7 +2311,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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, @@ -2370,7 +2368,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in }, "semanticDiagnosticsPerFile": [ [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -2387,7 +2385,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in ] ], "version": "FakeTSVersion", - "size": 1127 + "size": 1115 } @@ -2426,7 +2424,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -2453,7 +2451,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2631,7 +2629,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2788,7 +2786,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -2955,7 +2953,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -3101,7 +3099,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6ae0f23583006..3c06064430109 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 @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library witha/node_modules/mymodule/index.d.ts Imported via 'mymodule' from file 'witha/a.ts' witha/a.ts @@ -217,8 +217,6 @@ 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* @@ -247,7 +245,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspaces: *new* {} @@ -286,21 +284,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -499,8 +497,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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library witha/node_modules/mymodule/index.d.ts Imported via 'mymodule' from file 'witha/a.ts' witha/a.ts @@ -545,7 +543,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspaces: {} @@ -589,21 +587,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 9ba7427f5add4..16d22909279f4 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/diagnostics-from-cache.js @@ -80,8 +80,6 @@ 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(); @@ -114,7 +112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -144,14 +142,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -229,7 +227,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c3ec0582241b8..38c4b9820648d 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js @@ -124,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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ../packageA/index.d.ts Imported via "package-a" from file '../packageB/index.d.ts' ../packageB/index.d.ts @@ -136,8 +136,6 @@ index.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/workspace/packageC/index.js] import * as pkg from "package-b"; export const a = pkg.invoke(); @@ -155,7 +153,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/packageA/index.d.ts: *new* {} @@ -194,19 +192,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -268,8 +266,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.es2024.full.d.ts - Default library for target 'es2024' +../../tslibs/TS/Lib/lib.d.ts + Default library ../packageA/index.d.ts Imported via "package-a" from file '../packageB/index.d.ts' ../packageB/index.d.ts @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2ab7457a2100a..cb4fea7351242 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 @@ -163,8 +163,6 @@ 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] export const x = 10; @@ -193,7 +191,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts @@ -238,7 +236,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -348,7 +346,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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/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 3b5d7a9a80c79..616efeff343c0 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 @@ -163,8 +163,6 @@ 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] export const x = 10; @@ -193,7 +191,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -230,7 +228,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts @@ -238,7 +236,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -348,7 +346,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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-reuse.js b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js index 6e5608f830627..7e9ced8b3e105 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js @@ -163,8 +163,6 @@ 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] export const x = 10; @@ -199,7 +197,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -236,7 +234,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts @@ -245,7 +243,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -373,7 +371,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 96431dd10133b..4cc227dced36c 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,8 +114,6 @@ index.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/index.js] /// @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -166,17 +164,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +256,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 +280,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/index.ts: {} @@ -321,12 +319,12 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6fb4c2cece856..93a050c3eb54a 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 @@ -92,8 +92,6 @@ 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] export const theNum = 42; @@ -114,7 +112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/packages/pkg1/index.ts: *new* {} @@ -151,19 +149,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -251,7 +249,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} @@ -295,7 +293,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/packages/pkg2/build/other.d.ts /user/username/projects/myproject/packages/pkg1/index.ts @@ -394,7 +392,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} @@ -436,7 +434,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 68a82c06bbd73..db79c6f3cc478 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,20 +49,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -133,7 +131,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1042 + "size": 1030 } @@ -150,7 +148,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -170,17 +168,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -210,17 +208,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -272,7 +270,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 797 + "size": 785 } @@ -290,7 +288,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -331,17 +329,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -381,7 +379,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 823 + "size": 811 } //// [/home/src/projects/project/a.js] @@ -414,7 +412,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -468,7 +466,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -512,17 +510,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -594,7 +592,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1313 + "size": 1301 } @@ -612,7 +610,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -663,17 +661,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -736,7 +734,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1277 + "size": 1265 } //// [/home/src/projects/project/a.js] @@ -759,7 +757,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -823,7 +821,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5f1b977f8291e..ff7f7cd9dde01 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,19 +46,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -119,7 +117,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -134,7 +132,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -153,15 +151,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -190,16 +188,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -238,7 +236,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 753 + "size": 741 } @@ -255,16 +253,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -297,16 +295,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -336,7 +334,7 @@ Output:: "declaration": true }, "version": "FakeTSVersion", - "size": 717 + "size": 705 } //// [/home/src/projects/project/a.js] @@ -360,7 +358,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -412,7 +410,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -455,16 +453,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -526,7 +524,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1204 + "size": 1192 } @@ -543,16 +541,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -595,16 +593,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -657,7 +655,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1168 + "size": 1156 } //// [/home/src/projects/project/a.js] @@ -679,7 +677,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -741,7 +739,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 86d3063d318f6..37c3477c99cd0 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,20 +38,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -90,7 +88,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 695 + "size": 683 } @@ -107,7 +105,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -126,17 +124,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -166,17 +164,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -219,7 +217,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -236,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -276,17 +274,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -319,7 +317,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -343,7 +341,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -395,7 +393,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -429,17 +427,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -478,7 +476,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 902 + "size": 890 } @@ -495,7 +493,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -535,17 +533,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -578,7 +576,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 871 + "size": 859 } //// [/home/src/projects/project/a.js] @@ -600,7 +598,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -652,7 +650,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6cb5cdfa02450..4c454666db052 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,19 +35,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -79,7 +77,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 676 + "size": 664 } @@ -94,7 +92,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -112,15 +110,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -149,16 +147,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -191,7 +189,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -207,16 +205,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -248,16 +246,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -284,7 +282,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -303,7 +301,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -386,16 +384,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -428,7 +426,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 864 + "size": 852 } @@ -444,16 +442,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -485,16 +483,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -521,7 +519,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 833 + "size": 821 } //// [/home/src/projects/project/a.js] @@ -542,7 +540,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -592,7 +590,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5dd56667e9319..c88fad99ac8d9 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,8 +34,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -48,7 +46,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -65,15 +63,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -113,16 +111,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -214,7 +212,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -258,16 +256,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -313,7 +311,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -361,7 +359,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 46aecaf49ab4a..02306bea3507c 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/dts-errors.js @@ -45,8 +45,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -59,7 +57,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -77,15 +75,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -126,16 +124,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -186,7 +184,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -236,7 +234,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -291,16 +289,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -359,7 +357,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -419,7 +417,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0a209796c4895..b6a5d305bf9aa 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,20 +43,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -109,7 +107,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } @@ -126,7 +124,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -145,17 +143,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) /home/src/projects/project/b.ts (used version) @@ -185,17 +183,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -238,7 +236,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 756 + "size": 744 } @@ -255,7 +253,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -295,17 +293,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -338,7 +336,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 723 + "size": 711 } //// [/home/src/projects/project/a.js] @@ -362,7 +360,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -414,7 +412,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -453,17 +451,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -516,7 +514,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 909 + "size": 897 } @@ -533,7 +531,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -578,17 +576,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -635,7 +633,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 878 + "size": 866 } //// [/home/src/projects/project/a.js] file written with same contents @@ -652,7 +650,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -709,7 +707,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6a97687e6150a..abff2e3045535 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,19 +40,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -98,7 +96,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 818 + "size": 806 } @@ -113,7 +111,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -131,15 +129,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -168,16 +166,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -210,7 +208,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -226,16 +224,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -267,16 +265,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -303,7 +301,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -322,7 +320,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -372,7 +370,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -410,16 +408,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -466,7 +464,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 870 + "size": 858 } @@ -482,16 +480,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -528,16 +526,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -578,7 +576,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 839 + "size": 827 } //// [/home/src/projects/project/a.js] file written with same contents @@ -594,7 +592,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -649,7 +647,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 014b05b54c2bf..905a5cc252ec5 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/semantic-errors.js @@ -39,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -53,7 +51,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -70,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -118,16 +116,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -171,7 +169,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -219,7 +217,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -268,16 +266,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -323,7 +321,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -376,7 +374,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4e3e7f769b009..39be235cf2237 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,20 +43,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -93,10 +91,10 @@ Output:: "changeFileSet": [ "./a.ts", "./b.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 746 + "size": 734 } @@ -113,7 +111,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -132,7 +130,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -166,17 +164,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -223,7 +221,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 825 + "size": 813 } @@ -240,17 +238,17 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) /home/src/projects/project/b.ts (computed .d.ts) @@ -284,17 +282,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -331,7 +329,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 792 + "size": 780 } //// [/home/src/projects/project/a.js] @@ -355,7 +353,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -407,7 +405,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -446,17 +444,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -496,7 +494,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 809 + "size": 797 } @@ -513,7 +511,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -557,17 +555,17 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -610,7 +608,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 822 + "size": 810 } //// [/home/src/projects/project/a.js] @@ -630,7 +628,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -689,7 +687,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 92fa211bfd65a..bcf59da9335a3 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,19 +40,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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; };", "signature": false, @@ -79,10 +77,10 @@ Output:: ], "changeFileSet": [ "./a.ts", - "../../tslibs/ts/lib/lib.es2024.full.d.ts" + "../../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 684 + "size": 672 } @@ -97,7 +95,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +113,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -148,16 +146,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -190,7 +188,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 717 + "size": 705 } @@ -206,15 +204,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -247,16 +245,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -283,7 +281,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 686 + "size": 674 } //// [/home/src/projects/project/a.js] @@ -302,7 +300,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -352,7 +350,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -390,16 +388,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -429,7 +427,7 @@ Output:: "./a.ts" ], "version": "FakeTSVersion", - "size": 703 + "size": 691 } @@ -445,7 +443,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -488,16 +486,16 @@ Output:: //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -530,7 +528,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 716 + "size": 704 } //// [/home/src/projects/project/a.js] @@ -549,7 +547,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -606,7 +604,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 106b2f853e619..a0df56a7a05f0 100644 --- a/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/multiFile/syntax-errors.js @@ -39,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -53,7 +51,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -70,7 +68,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -114,15 +112,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/a.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -167,7 +165,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -215,7 +213,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -264,7 +262,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -319,7 +317,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -374,7 +372,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d4c99f4888da0..858d705190da7 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,20 +51,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +84,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 728 + "size": 716 } @@ -106,7 +104,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -128,7 +126,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -172,17 +170,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -204,10 +202,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 713 + "size": 701 } @@ -227,7 +225,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -278,17 +276,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +307,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -322,7 +320,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 726 + "size": 714 } //// [/home/src/projects/outFile.js] @@ -365,7 +363,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -433,7 +431,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -477,17 +475,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -510,7 +508,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 724 + "size": 712 } @@ -530,7 +528,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -591,17 +589,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -622,7 +620,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -658,7 +656,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1047 + "size": 1035 } //// [/home/src/projects/outFile.js] @@ -695,7 +693,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -763,7 +761,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 309f140088b00..05c5ed33a4ca2 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,19 +42,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +67,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 652 + "size": 640 } @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -107,7 +105,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -145,16 +143,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -169,10 +167,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 636 + "size": 624 } @@ -190,7 +188,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -234,16 +232,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +256,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -267,7 +265,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 649 + "size": 637 } //// [/home/src/projects/outFile.js] @@ -292,7 +290,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -351,7 +349,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -389,16 +387,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -415,7 +413,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 650 + "size": 638 } @@ -433,7 +431,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -487,16 +485,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -511,7 +509,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -543,7 +541,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 969 + "size": 957 } //// [/home/src/projects/outFile.js] @@ -566,7 +564,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -625,7 +623,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2ec9abdb63dc1..5c4d852438bae 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,20 +50,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +82,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 709 + "size": 697 } @@ -104,7 +102,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -125,7 +123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -169,17 +167,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -200,10 +198,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -272,17 +270,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -302,7 +300,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -315,7 +313,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -348,7 +346,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -414,7 +412,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -458,17 +456,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -490,7 +488,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 705 + "size": 693 } @@ -509,7 +507,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -559,17 +557,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -589,7 +587,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -602,7 +600,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 722 + "size": 710 } //// [/home/src/projects/outFile.js] @@ -638,7 +636,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -704,7 +702,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0305d6d28052a..36471834d4b5f 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,19 +41,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 +65,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 633 + "size": 621 } @@ -85,7 +83,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,16 +140,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -165,10 +163,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -185,7 +183,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -228,16 +226,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -251,7 +249,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -260,7 +258,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -337,7 +335,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -375,16 +373,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -400,7 +398,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 631 + "size": 619 } @@ -417,7 +415,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -460,16 +458,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -483,7 +481,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -492,7 +490,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 646 + "size": 634 } //// [/home/src/projects/outFile.js] @@ -514,7 +512,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -571,7 +569,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7550ba1b06b31..926b1ef95021b 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,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -54,7 +52,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -72,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -122,7 +120,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -234,7 +232,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -343,7 +341,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -398,7 +396,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 acc9f8a7f0e3d..ad4dcece395ac 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/dts-errors.js @@ -41,8 +41,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -55,7 +53,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -74,7 +72,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -125,7 +123,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -188,7 +186,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -245,7 +243,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -296,7 +294,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -367,7 +365,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 58e8bd87db71a..2ad97fd4fbbee 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,20 +50,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -84,10 +82,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 701 + "size": 689 } @@ -104,7 +102,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -125,7 +123,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -169,17 +167,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -200,10 +198,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -222,7 +220,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -272,17 +270,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -302,7 +300,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -315,7 +313,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -348,7 +346,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -414,7 +412,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -458,17 +456,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -490,7 +488,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 697 + "size": 685 } @@ -509,7 +507,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -559,17 +557,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -589,7 +587,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -602,7 +600,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 714 + "size": 702 } //// [/home/src/projects/outFile.js] file written with same contents @@ -621,7 +619,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -687,7 +685,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 275229f190ac7..2321652cdf95e 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,19 +41,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -67,10 +65,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 624 + "size": 612 } @@ -85,7 +83,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,16 +140,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -165,10 +163,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -185,7 +183,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -228,16 +226,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -251,7 +249,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -260,7 +258,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -337,7 +335,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -375,16 +373,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -400,7 +398,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 622 + "size": 610 } @@ -417,7 +415,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -460,16 +458,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -483,7 +481,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -492,7 +490,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 637 + "size": 625 } //// [/home/src/projects/outFile.js] file written with same contents @@ -509,7 +507,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -566,7 +564,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 50e30c619f974..720066571e308 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/semantic-errors.js @@ -40,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -54,7 +52,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -72,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -122,7 +120,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -234,7 +232,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -338,7 +336,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -393,7 +391,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5fac8c7386a83..79d78af1e47aa 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,20 +45,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -79,10 +77,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 691 + "size": 679 } @@ -99,7 +97,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -120,7 +118,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -164,17 +162,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -195,10 +193,10 @@ Output:: "changeFileSet": [ "./project/a.ts", "./project/b.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 694 + "size": 682 } @@ -217,7 +215,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -267,17 +265,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -297,7 +295,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -310,7 +308,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 707 + "size": 695 } //// [/home/src/projects/outFile.js] @@ -343,7 +341,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -409,7 +407,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -448,17 +446,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -480,7 +478,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 687 + "size": 675 } @@ -499,7 +497,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -544,17 +542,17 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts", "./project/b.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" }, @@ -574,7 +572,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -587,7 +585,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 704 + "size": 692 } //// [/home/src/projects/outFile.js] @@ -620,7 +618,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts /home/src/projects/project/b.ts @@ -681,7 +679,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1e42daa97f8f3..ecad1189a7420 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,19 +41,17 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -67,10 +65,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 614 + "size": 602 } @@ -85,7 +83,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -104,7 +102,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -142,16 +140,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -165,10 +163,10 @@ Output:: }, "changeFileSet": [ "./project/a.ts", - "../tslibs/ts/lib/lib.es2024.full.d.ts" + "../tslibs/ts/lib/lib.d.ts" ], "version": "FakeTSVersion", - "size": 617 + "size": 605 } @@ -185,7 +183,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -228,16 +226,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -251,7 +249,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -260,7 +258,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 630 + "size": 618 } //// [/home/src/projects/outFile.js] @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -337,7 +335,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -375,16 +373,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -400,7 +398,7 @@ Output:: "./project/a.ts" ], "version": "FakeTSVersion", - "size": 612 + "size": 600 } @@ -417,7 +415,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -460,16 +458,16 @@ Output:: //// [/home/src/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "./project/a.ts" ], "fileInfos": { - "../tslibs/ts/lib/lib.es2024.full.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../tslibs/ts/lib/lib.d.ts": "-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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": [ @@ -483,7 +481,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../tslibs/ts/lib/lib.es2024.full.d.ts", + "../tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -492,7 +490,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 627 + "size": 615 } //// [/home/src/projects/outFile.js] @@ -512,7 +510,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -569,7 +567,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1d8a542239db9..a719335112a89 100644 --- a/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js +++ b/tests/baselines/reference/tscWatch/noEmit/outFile/syntax-errors.js @@ -40,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /home/src/projects/node_modules/@types: *new* @@ -54,7 +52,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -72,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -122,7 +120,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -179,7 +177,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -234,7 +232,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -341,7 +339,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts No cached semantic diagnostics in the builder:: @@ -396,7 +394,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 21f244e3604b4..b19c94a17057b 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,15 +57,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -76,7 +74,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -137,7 +135,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 991 + "size": 979 } @@ -148,7 +146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -178,19 +176,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -241,12 +239,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -257,7 +255,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -311,7 +309,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1043 + "size": 1031 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -361,7 +359,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -421,12 +419,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -437,7 +435,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -511,7 +509,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1211 + "size": 1199 } @@ -531,7 +529,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -586,12 +584,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -602,7 +600,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -656,7 +654,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1034 + "size": 1022 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -682,7 +680,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -748,12 +746,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -764,7 +762,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -850,7 +848,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1549 + "size": 1537 } @@ -870,7 +868,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -926,12 +924,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -942,7 +940,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -996,7 +994,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1103 + "size": 1091 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -1030,7 +1028,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9415be54add75..75562bf83e7c6 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-declaration.js @@ -56,8 +56,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -66,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -95,19 +93,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -203,7 +201,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +276,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +352,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -435,7 +433,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -520,7 +518,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 279c11e1070d0..4d7b9524ce7ab 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError-with-incremental.js @@ -56,15 +56,13 @@ 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.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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -75,7 +73,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -135,7 +133,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 972 + "size": 960 } @@ -146,7 +144,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -175,19 +173,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -238,12 +236,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -254,7 +252,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -303,7 +301,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 973 + "size": 961 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -338,7 +336,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -398,12 +396,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -414,7 +412,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -483,7 +481,7 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1141 + "size": 1129 } @@ -502,7 +500,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -557,12 +555,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -573,7 +571,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -622,7 +620,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 964 + "size": 952 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -646,7 +644,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -702,12 +700,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -718,7 +716,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -767,7 +765,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1137 + "size": 1125 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] @@ -792,7 +790,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,12 +846,12 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../shared/types/db.ts", "../src/main.ts", "../src/other.ts" @@ -864,7 +862,7 @@ Output:: ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -913,7 +911,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1033 + "size": 1021 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] file written with same contents @@ -933,7 +931,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6034eec574ddb..d5859e5332d84 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/multiFile/noEmitOnError.js @@ -55,8 +55,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -65,7 +63,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -93,19 +91,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -186,7 +184,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,7 +258,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +332,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +408,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -481,7 +479,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ec865c7145868..04a60d551f49f 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,21 +68,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -112,7 +110,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 951 + "size": 939 } @@ -123,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -154,13 +152,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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,18 +221,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -264,7 +262,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 950 + "size": 938 } @@ -285,13 +283,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -357,18 +355,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -411,7 +409,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1073 + "size": 1061 } @@ -432,13 +430,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -499,18 +497,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -540,7 +538,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 941 + "size": 929 } @@ -561,13 +559,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -629,18 +627,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -670,7 +668,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 957 + "size": 945 } @@ -691,13 +689,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -759,18 +757,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -800,7 +798,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 949 + "size": 937 } @@ -821,13 +819,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f5d6aa93d476e..8cb03b741235b 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-declaration.js @@ -67,8 +67,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -77,7 +75,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -107,13 +105,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -192,13 +190,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -280,13 +278,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -363,13 +361,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -447,13 +445,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -531,13 +529,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c6f8a540774a2..89fdc5b062497 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError-with-incremental.js @@ -67,21 +67,19 @@ 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.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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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 +108,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 932 + "size": 920 } @@ -121,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -151,13 +149,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -220,18 +218,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -260,7 +258,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 931 + "size": 919 } @@ -280,13 +278,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -352,18 +350,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -405,7 +403,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 1054 + "size": 1042 } @@ -425,13 +423,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -492,18 +490,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -532,7 +530,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 922 + "size": 910 } @@ -552,13 +550,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -620,18 +618,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -660,7 +658,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 938 + "size": 926 } @@ -680,13 +678,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -748,18 +746,18 @@ Output:: //// [/user/username/projects/dev-build.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./noemitonerror/shared/types/db.ts", "./noemitonerror/src/main.ts", "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./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" @@ -788,7 +786,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 930 + "size": 918 } @@ -808,13 +806,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cdb28abcdeb7b..98d78b2066612 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/outFile/noEmitOnError.js @@ -66,8 +66,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* @@ -76,7 +74,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -105,13 +103,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -189,13 +187,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -276,13 +274,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -358,13 +356,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -441,13 +439,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/noEmitOnError/shared/types/db.ts /user/username/projects/noEmitOnError/src/main.ts /user/username/projects/noEmitOnError/src/other.ts @@ -524,13 +522,13 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fd0daef713a95..12a1a964860f5 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] let x = 10; @@ -63,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -83,15 +81,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 062461092f72d..7279abe1fc49e 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] let x = 10; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQSJ9 @@ -71,7 +69,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -93,13 +91,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined @@ -161,7 +159,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 30115e4377edf..c04cfcc69eb76 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,8 +40,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -77,15 +75,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 fc44c4f856aa1..0ce2b16681a53 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] let x = 10; @@ -48,7 +46,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -68,15 +66,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/app.ts (used version) exitCode:: ExitStatus.undefined @@ -124,7 +122,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: @@ -170,7 +168,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 feab565f286f3..39b36ba53cb42 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,8 +45,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/a.js] export {}; @@ -63,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/a.ts: *new* {} @@ -83,17 +81,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -147,7 +145,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/a.ts: {} @@ -170,7 +168,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: @@ -229,7 +227,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/a.ts: {} @@ -250,12 +248,12 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a3a62cf4068ea..b2e39ced92219 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,8 +34,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/a.js] label: while (1) { } @@ -52,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/a.ts: *new* {} @@ -74,15 +72,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/a.ts (used version) exitCode:: ExitStatus.undefined @@ -132,11 +130,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/a.ts No shapes updated in the builder:: @@ -183,11 +181,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e763e6327ad78..073cb2fd3a9ab 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -48,7 +46,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -68,15 +66,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) exitCode:: ExitStatus.undefined @@ -121,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -145,12 +143,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 75abece93ae53..73fbaab4f30b2 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,8 +32,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/file1.js] import * as T from "./moduleFile"; T.bar(); @@ -49,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -64,15 +62,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -126,7 +124,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -146,7 +144,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 21deae80cbd86..df6ec799a955e 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] let x = 1; @@ -56,7 +54,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -72,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined @@ -131,7 +129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -151,12 +149,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b32724e7d762d..8ddeb189e1948 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] let x = 1; @@ -48,7 +46,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -68,15 +66,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined @@ -121,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -145,12 +143,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 54623f188e07c..abd8deba8becf 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,8 +35,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/Project/file1.js] export const x = 10; @@ -51,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/Project/file1.ts: *new* {} @@ -73,17 +71,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/project/file1.ts (used version) /user/username/projects/myproject/project/tsconfig.json (used version) @@ -126,7 +124,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/Project/file1.ts: {} @@ -152,7 +150,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 adadaa093fbed..778f3be545002 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/PROJECTS/PROJECT/app.js] let x = 1; @@ -52,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/PROJECTS/PROJECT/app.ts: *new* {} @@ -69,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/PROJECTS/PROJECT/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/PROJECTS/PROJECT/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 6f84373538b74..14d113f4faa5e 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,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] let x = 1; @@ -61,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -80,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) @@ -150,7 +148,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4b2fe13b1eacd..ff00b76a4b9fe 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js +++ b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js @@ -31,8 +31,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] export {}; @@ -49,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -69,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/f1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/f1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) exitCode:: ExitStatus.undefined @@ -131,13 +129,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 83e3defb18413..9317647f7642b 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/f2.ts Imported via "./f2" from file 'project/f1.ts' project/f1.ts @@ -39,8 +39,6 @@ project/f1.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f2.js] export let x = 1; @@ -59,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -75,17 +73,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) @@ -110,8 +108,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library projectc/f3.ts Imported via "../projectc/f3" from file 'project/f2.ts' project/f2.ts @@ -141,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -160,7 +158,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9372c2c14c9d1..4aea3c157e00f 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] export let x = 5; @@ -68,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -90,19 +88,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 75532bdaf7168..73d2b8c3dee12 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js @@ -33,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] let x = 1; @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -78,17 +76,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 49290f575f6bb..85a0b1a0fc8c4 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +56,6 @@ 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] export const x = 1; @@ -75,18 +73,18 @@ export declare const y = 1; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./f1.ts", "./f2.ts", "./tsconfig.json" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -134,7 +132,7 @@ export declare const y = 1; }, "latestChangedDtsFile": "./f2.d.ts", "version": "FakeTSVersion", - "size": 1006 + "size": 994 } @@ -145,7 +143,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/f1.ts: *new* {} @@ -171,19 +169,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -231,19 +229,19 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./f1.ts", "./f2.ts", "./new-file.ts", "./tsconfig.json" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -300,7 +298,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "latestChangedDtsFile": "./new-file.d.ts", "version": "FakeTSVersion", - "size": 1131 + "size": 1119 } //// [/user/username/projects/myproject/new-file.js] @@ -319,7 +317,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/f1.ts: {} @@ -349,7 +347,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/f1.ts /user/username/projects/myproject/f2.ts /user/username/projects/myproject/new-file.ts @@ -397,12 +395,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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./new-file.ts", "./f1.ts", "./f2.ts", @@ -414,7 +412,7 @@ CreatingProgramWith:: ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -476,7 +474,7 @@ CreatingProgramWith:: }, "latestChangedDtsFile": "./new-file.d.ts", "version": "FakeTSVersion", - "size": 1206 + "size": 1194 } @@ -495,7 +493,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fb86194c32d56..2f92b8d043773 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,8 +42,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/c/f1.js] let x = 1; @@ -64,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/c/f1.ts: *new* {} @@ -87,17 +85,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 b1fa3f028f18d..3e97ad3cd1dcf 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,8 +38,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/c/app.js] import { f } from "./module"; console.log(f); @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/c/app.ts: *new* {} @@ -76,17 +74,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 aad3b7e059bd4..871e7618a2400 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/projectc/f3.js] export let y = 1; @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -76,19 +74,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -158,7 +156,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fa34baee78c0b..a10f8bccc9517 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/projectc/f3.js] export let y = 1; @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -75,19 +73,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -131,7 +129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -156,7 +154,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a3a88c09c3e0d..2293f2d326534 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,8 +51,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -73,7 +71,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -93,17 +91,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) @@ -161,7 +159,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -187,12 +185,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts @@ -249,12 +247,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts @@ -305,12 +303,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts /user/username/workspace/solution/projects/project/commonFile2.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -386,12 +384,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 de2950181ffee..656739f2b5ddd 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,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/f1.js] let x = 1; @@ -61,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -80,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/f1.ts (used version) /user/username/workspace/solution/projects/project/f2.ts (used version) @@ -141,7 +139,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: {} @@ -163,7 +161,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6a61f6146a0b5..133dab3832d3c 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,8 +39,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -61,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -85,17 +83,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 db4a36a3faef7..4578b9ce4cd86 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -39,8 +39,6 @@ commonFile2.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -61,7 +59,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -85,17 +83,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) @@ -120,8 +118,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -149,18 +147,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -182,8 +180,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -203,7 +201,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -229,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: @@ -259,8 +257,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -286,7 +284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -311,12 +309,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 13bc22697c558..6a90569430fc6 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,8 +38,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] /// let x = y; @@ -59,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -72,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/commonFile1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) exitCode:: ExitStatus.undefined @@ -107,7 +105,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -145,7 +143,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -161,12 +159,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cc954fa1b8a6a..3764a8da11003 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] let x = 10; @@ -50,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -70,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 245e23f9c2904..2eca3b0a12c3e 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/moduleFile.js] export function bar() { } ; @@ -53,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -77,17 +75,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/modulefile.ts (used version) /users/username/projects/project/file1.ts (used version) @@ -138,7 +136,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: *new* {} @@ -173,7 +171,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/file1.ts /users/username/projects/project/moduleFile1.ts @@ -241,7 +239,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -272,7 +270,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7a3909378323f..ee755bf366b50 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,8 +30,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/moduleFile.js] export function bar() { } ; @@ -50,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/file1.ts: *new* {} @@ -65,17 +63,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/modulefile.ts (used version) /users/username/projects/project/file1.ts (used version) @@ -121,7 +119,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: *new* {} @@ -145,7 +143,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/file1.ts Semantic diagnostics in builder refreshed for:: @@ -207,7 +205,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1.ts: {} @@ -227,7 +225,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2a5009ad078e7..6e82f164aa430 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,8 +43,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspaces/projects/b.js] export const x = 10; @@ -63,7 +61,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspaces/projects/b.ts: *new* {} @@ -87,17 +85,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspaces/projects/b.ts (used version) /user/username/workspaces/projects/myproject/a.ts (used version) @@ -147,7 +145,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 98da7133c5c40..4033256d48c96 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,8 +38,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export const a = ""; @@ -57,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -81,17 +79,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3d493552bd3dd..390c507bac314 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/src/app.js] let x = 1; @@ -56,7 +54,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/src/app.ts: *new* {} @@ -77,15 +75,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/src/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/src/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 91a402a57e50d..aaad7363381b5 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -68,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -85,13 +83,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 46ab8721cb21a..a2da72dae84c5 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,8 +44,6 @@ 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"; @@ -80,7 +78,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -109,14 +107,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -213,7 +211,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9078a71af37a2..f5c4e0295997b 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,8 +45,6 @@ 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"; @@ -81,7 +79,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -111,14 +109,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -216,7 +214,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 15508a02e9e0d..b12772984f6c3 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,8 +43,6 @@ 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"; @@ -71,7 +69,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -99,14 +97,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/file1.ts (used version) /user/username/projects/myproject/src/file2.ts (used version) @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -198,7 +196,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 88f2e638b61ab..8310e61cfceea 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,8 +48,6 @@ 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"; @@ -73,7 +71,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -101,7 +99,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/file1.ts /user/username/projects/myproject/src/file2.ts @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -214,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d0bba1459dc47..80e410b5d5a6a 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,8 +43,6 @@ 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"; @@ -79,7 +77,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -107,14 +105,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -210,7 +208,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a5334dd9cd8a8..58ebd33437d84 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,8 +42,6 @@ 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"; @@ -70,7 +68,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file1.ts: *new* {} @@ -97,14 +95,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/file1.ts (used version) /user/username/projects/myproject/src/file2.ts (used version) @@ -164,7 +162,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file1.ts: {} @@ -195,7 +193,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c943944361958..5e1af7c9c060c 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,8 +47,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/file1.js] export {}; @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/file1.ts: *new* {} @@ -99,14 +97,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -174,7 +172,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/module1.ts: *new* {} @@ -205,7 +203,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4e8d7b6aca06f..e582c4f03ed8e 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json commonFile2.ts @@ -42,8 +42,6 @@ commonFile2.ts -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -64,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -84,17 +82,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (used version) /user/username/workspace/solution/projects/project/commonfile2.ts (used version) @@ -119,8 +117,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json commonFile2.ts @@ -148,18 +146,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/commonfile1.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -186,8 +184,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -../../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -207,7 +205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/commonFile1.ts: {} @@ -229,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 95a40aa7e576b..714e53bdd2274 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/compile.js] let x = 1; @@ -45,7 +43,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/compile: *new* {} @@ -58,15 +56,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/compile Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/compile Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 4da91034b1b4e..044be8323a8bb 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,8 +49,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -71,7 +69,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -95,14 +93,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 a84a87590a28c..75ce688f7ae26 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,8 +32,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/file.js] function one() { } function two() { @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/file.ts: *new* {} @@ -69,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/file.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/solution/projects/project/file.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/project/file.ts (used version) exitCode:: ExitStatus.undefined @@ -130,7 +128,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a6ebab327217d..32cc702150d29 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,8 +35,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/projectc/f2.js] export let x = 1; @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/projectc/f2.ts: *new* {} @@ -71,17 +69,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/workspace/solution/projects/projectc/f2.ts (used version) /user/username/workspace/solution/projects/projectd/f3.ts (used version) @@ -113,7 +111,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/solution/projects/project/f1.ts: *new* {} @@ -130,19 +128,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 31ae5c30f742c..1cdc7fd9ab2b3 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] let x = 1; @@ -63,7 +61,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -91,17 +89,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 7f8daaa72bed3..26da7b4c87fb4 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,15 +49,13 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/app.js] let x = 1; FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/app.ts: *new* {} @@ -82,13 +80,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 c98531573ea17..a22b2c12247ed 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/index.js] const d =
; @@ -52,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.tsx: *new* {} @@ -72,15 +70,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/index.tsx (used version) exitCode:: ExitStatus.undefined @@ -124,11 +122,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2a4f624f87f85..f70a4b077607a 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/index.jsx] const d =
; @@ -49,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.tsx: *new* {} @@ -70,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.tsx Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/index.tsx (used version) exitCode:: ExitStatus.undefined @@ -122,11 +120,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.tsx Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 258c89110977c..25e8f81a9c25d 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,8 +36,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export class C { } @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -78,17 +76,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -140,12 +138,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -198,12 +196,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 94fbd423ff1bb..f3ce0698f945e 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,8 +43,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -53,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -79,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/b.ts (used version) /user/username/projects/myproject/a.ts (used version) @@ -141,7 +139,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -196,7 +194,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -261,7 +259,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.ts /user/username/projects/myproject/a.ts @@ -316,7 +314,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 92d43be4ad650..c22e7d3913fac 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,12 +32,20 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -50,7 +58,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -63,15 +71,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -114,16 +122,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -152,7 +160,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -167,15 +185,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 1a7f4c2c16f8f..4719ce4d99acb 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,12 +32,15 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -50,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -64,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -116,16 +119,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -154,7 +157,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -170,15 +183,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 b14539cc4349b..66fccac4eda8d 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,12 +32,15 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -50,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -64,15 +67,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -116,16 +119,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -154,7 +157,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. @@ -170,15 +178,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 def9ac503fc39..374dc7fcb8e04 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,12 +29,20 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] var y; @@ -47,7 +55,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -60,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -112,16 +120,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -147,7 +155,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -165,15 +183,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 d53e6fcb2b4d1..422bc7e0e5913 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,12 +29,15 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] var y; @@ -47,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -61,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -114,16 +117,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -149,7 +152,17 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -168,15 +181,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 df81c89eb36d8..e47ce24364ab1 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,12 +29,15 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] var y; @@ -47,7 +50,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -61,15 +64,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -114,16 +117,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -149,7 +152,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. @@ -168,15 +176,15 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 981a5fb73079f..7d8893bbb3e08 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,8 +32,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] @@ -45,7 +43,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -65,15 +63,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -135,7 +133,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a.ts: {} @@ -159,17 +157,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (computed .d.ts) /user/username/projects/myproject/b.ts (computed .d.ts) @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a.ts: {} @@ -230,15 +228,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 346cae11f145d..e4ccbebbb2664 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/project/a.js] export class C { } @@ -56,7 +54,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a.ts: *new* {} @@ -80,17 +78,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/a.ts (used version) /user/username/projects/project/b.ts (used version) @@ -150,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fd552a02863fb..c07667f514412 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,8 +46,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] v === 'foo'; @@ -60,7 +58,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -80,15 +78,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -137,11 +135,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cca659c4817af..81477c69017a4 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] foo().hello; @@ -47,7 +45,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -67,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -124,11 +122,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: @@ -181,11 +179,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts No shapes updated in the builder:: @@ -228,11 +226,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c81e55c65b5fa..6477bef6900e7 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,8 +43,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -59,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -82,13 +80,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -138,7 +136,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -165,7 +163,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e60d1961967c5..9f3b5fbd931f1 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,8 +30,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/username/workspaces/project/src/file1.js] var a = 10; @@ -44,7 +42,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/username/workspaces/project/src/file1.ts: *new* {} @@ -64,15 +62,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/username/workspaces/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/username/workspaces/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/username/workspaces/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -113,7 +111,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/username/workspaces/project/src/file2.ts: *new* {} @@ -138,11 +136,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/username/workspaces/project/src/file2.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 12ef7d8d0851d..203c981748960 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +57,6 @@ 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* @@ -67,7 +65,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -94,17 +92,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -164,12 +162,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 aad02d1fdb566..f279804e6fbf5 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +57,6 @@ 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* @@ -67,7 +65,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -94,17 +92,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -164,12 +162,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 097ce80970097..1f1aec3b2ea8b 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +54,6 @@ 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] export {}; @@ -68,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -93,15 +91,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/b.ts (used version) exitCode:: ExitStatus.undefined @@ -158,7 +156,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -187,7 +185,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a53fc041539a3..c75a5eeb5d16f 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +57,6 @@ 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] import "does-not-exist"; @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -102,15 +100,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -171,11 +169,11 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ce703af9f99e4..17a3c7a0c8fd5 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +43,6 @@ 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] @@ -56,7 +54,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -78,15 +76,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 85d5c27a0a10e..d11275eb330b9 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +70,6 @@ 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] export class Module1Class { } @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/client/folder1/module1.ts: *new* {} @@ -123,14 +121,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/client/folder1/module1.ts (used version) /user/username/projects/myproject/client/linktofolder2/module2.ts (used version) @@ -191,7 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/client/folder1/module1.ts: {} @@ -229,7 +227,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6efd37eb4fa43..27616ec140702 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +85,6 @@ 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] class class2 { } @@ -98,17 +96,17 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -149,7 +147,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -163,7 +161,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 909 } @@ -178,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -208,14 +206,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -288,7 +286,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -319,7 +317,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -361,7 +359,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -406,18 +404,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -467,7 +465,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -485,7 +483,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1025 + "size": 1013 } @@ -500,7 +498,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -533,7 +531,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -622,17 +620,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -673,7 +671,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -687,7 +685,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 909 } @@ -704,7 +702,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -739,7 +737,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -783,7 +781,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -828,18 +826,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -889,7 +887,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -907,7 +905,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1025 + "size": 1013 } @@ -922,7 +920,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -955,7 +953,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2a5a13ad9444d..fe039949ed13e 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,12 +36,25 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] @@ -53,7 +66,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -76,17 +89,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.d.ts (used version) @@ -119,7 +132,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. @@ -136,12 +154,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: @@ -175,7 +193,22 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -192,12 +225,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: @@ -227,7 +260,22 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -243,7 +291,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts @@ -280,7 +328,22 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -297,7 +360,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.d.ts @@ -334,7 +397,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +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. @@ -351,12 +419,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b.d.ts No shapes updated in the builder:: @@ -386,7 +454,22 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +../../../../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. @@ -402,12 +485,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 332e08877ec6d..e21658d758fb1 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,8 +36,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/workspace/solution/projects/project/commonFile1.js] let x = 1; @@ -58,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/solution/projects/project/commonFile1.ts: *new* {} @@ -77,17 +75,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 b4336d09dea23..1e41e03fba887 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -93,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -211,12 +209,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -228,7 +226,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -274,7 +272,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } //// [/user/username/projects/sample1/tests/index.js] @@ -292,12 +290,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -314,7 +312,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -367,7 +365,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1554 + "size": 1542 } @@ -398,8 +396,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -426,7 +424,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.d.ts: *new* {} @@ -465,7 +463,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -476,8 +474,8 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -523,12 +521,12 @@ function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -540,7 +538,7 @@ function foo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -586,7 +584,7 @@ function foo() { } }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1434 + "size": 1422 } @@ -627,12 +625,12 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -644,7 +642,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -690,7 +688,7 @@ export declare function gfoo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1500 + "size": 1488 } @@ -706,8 +704,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -726,12 +724,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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/index.d.ts", @@ -748,7 +746,7 @@ tests/index.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -801,7 +799,7 @@ tests/index.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1594 + "size": 1582 } @@ -822,7 +820,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -837,8 +835,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -887,12 +885,12 @@ export function gfoo() { } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -904,7 +902,7 @@ export function gfoo() { } ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -949,7 +947,7 @@ export function gfoo() { } }, "latestChangedDtsFile": "./decls/index.d.ts", "version": "FakeTSVersion", - "size": 1489 + "size": 1477 } //// [/user/username/projects/sample1/logic/decls/index.d.ts] @@ -978,8 +976,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -998,12 +996,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.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"} +{"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"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "../logic/decls/index.d.ts", @@ -1020,7 +1018,7 @@ tests/index.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1073,7 +1071,7 @@ tests/index.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1600 + "size": 1588 } @@ -1086,7 +1084,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/sample1/core/anotherModule.d.ts: {} @@ -1130,7 +1128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1145,8 +1143,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 f4f9f973bda02..a3c857a183b62 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,8 +74,6 @@ interface Array { length: number; [n: number]: 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] export class A { } @@ -87,16 +85,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -125,7 +123,7 @@ export declare class A { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 746 + "size": 734 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -139,12 +137,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -154,7 +152,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -206,7 +204,7 @@ export declare const b: A; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 952 + "size": 940 } //// [/user/username/projects/transitiveReferences/c/index.js] @@ -269,8 +267,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -296,7 +294,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/transitiveReferences: *new* {} @@ -344,7 +342,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -353,15 +351,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -401,12 +399,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -416,7 +414,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -454,7 +452,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -468,7 +466,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1015 + "size": 1003 } @@ -499,8 +497,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -537,7 +535,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -550,8 +548,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -645,8 +643,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -672,7 +670,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -729,7 +727,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -742,8 +740,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -830,8 +828,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -857,7 +855,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -914,7 +912,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -927,8 +925,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -994,8 +992,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library nrefs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1019,7 +1017,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1074,7 +1072,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1088,8 +1086,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1155,8 +1153,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library refs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1179,7 +1177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1234,7 +1232,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1245,8 +1243,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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,8 +1308,8 @@ File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it 13 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library refs/a.d.ts Imported via '@ref/a' from file 'b/index.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1335,7 +1333,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1391,7 +1389,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1403,8 +1401,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1468,8 +1466,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1495,7 +1493,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1551,7 +1549,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1565,8 +1563,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1623,8 +1621,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1649,7 +1647,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1705,7 +1703,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1719,8 +1717,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1774,8 +1772,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1800,7 +1798,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1856,7 +1854,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1870,8 +1868,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 bc1bbf38abfb0..4c18acf89e827 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,8 +83,6 @@ interface Array { length: number; [n: number]: 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] export class A { } @@ -96,16 +94,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./index.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -134,7 +132,7 @@ export declare class A { }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 746 + "size": 734 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -148,12 +146,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -163,7 +161,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -201,7 +199,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -215,7 +213,7 @@ export declare const b: A; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 952 + "size": 940 } //// [/user/username/projects/transitiveReferences/c/index.js] @@ -278,8 +276,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -305,7 +303,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/transitiveReferences: *new* {} @@ -351,7 +349,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -360,15 +358,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -408,12 +406,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../a/index.d.ts", "./index.ts" ], @@ -423,7 +421,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -461,7 +459,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -475,7 +473,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1015 + "size": 1003 } @@ -506,8 +504,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -544,7 +542,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -557,8 +555,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -655,8 +653,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -682,7 +680,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -737,7 +735,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -750,8 +748,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -841,8 +839,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -868,7 +866,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -923,7 +921,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -936,8 +934,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1006,8 +1004,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library nrefs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1031,7 +1029,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1086,7 +1084,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1100,8 +1098,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1170,8 +1168,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library refs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1194,7 +1192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1245,7 +1243,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1256,8 +1254,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1321,8 +1319,8 @@ File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it 16 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library refs/a.d.ts Imported via '@ref/a' from file 'b/index.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1346,7 +1344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1396,7 +1394,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1408,8 +1406,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b/index.ts /user/username/projects/transitiveReferences/c/index.ts @@ -1476,8 +1474,8 @@ Module resolution kind is not specified, using 'Bundler'. 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1503,7 +1501,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1557,7 +1555,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1571,8 +1569,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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1629,8 +1627,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1655,7 +1653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1709,7 +1707,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1723,8 +1721,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1781,8 +1779,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 3 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1807,7 +1805,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences: {} @@ -1861,7 +1859,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1875,8 +1873,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c/index.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 82fa3820fe01d..0db0bbf70f0a4 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -86,8 +86,6 @@ interface Array { length: number; [n: number]: 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] export class A { } @@ -99,16 +97,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -137,7 +135,7 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 737 + "size": 725 } //// [/user/username/projects/transitiveReferences/b.js] @@ -151,12 +149,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.d.ts", "./b.ts" ], @@ -166,7 +164,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -204,7 +202,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -218,7 +216,7 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 936 + "size": 924 } //// [/user/username/projects/transitiveReferences/c.js] @@ -275,8 +273,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -300,7 +298,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -340,7 +338,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -349,15 +347,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -398,12 +396,12 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.d.ts", "./b.ts" ], @@ -413,7 +411,7 @@ export declare function gfoo(): void; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -451,7 +449,7 @@ export declare function gfoo(): void; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -465,7 +463,7 @@ export declare function gfoo(): void; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 1000 + "size": 988 } @@ -496,8 +494,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -534,7 +532,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -547,8 +545,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -637,8 +635,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -662,7 +660,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: {} @@ -711,7 +709,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -724,8 +722,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/nrefs/a.d.ts @@ -809,8 +807,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -834,7 +832,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: {} @@ -883,7 +881,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -896,8 +894,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -966,8 +964,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library nrefs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' b.d.ts @@ -989,7 +987,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/b.d.ts: {} @@ -1036,7 +1034,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -1050,8 +1048,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -1120,8 +1118,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library refs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' Imported via "@ref/a" from file 'c.ts' @@ -1142,7 +1140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/b.d.ts: {} @@ -1189,7 +1187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/c.ts @@ -1200,8 +1198,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/b.d.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/c.ts @@ -1263,8 +1261,8 @@ File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it 16 }   ~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library refs/a.d.ts Imported via '@ref/a' from file 'b.ts' Imported via "@ref/a" from file 'c.ts' @@ -1286,7 +1284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/b.ts: *new* {} @@ -1329,7 +1327,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.ts /user/username/projects/transitiveReferences/c.ts @@ -1341,8 +1339,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts /user/username/projects/transitiveReferences/b.ts /user/username/projects/transitiveReferences/c.ts @@ -1407,8 +1405,8 @@ Module resolution kind is not specified, using 'Bundler'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1432,7 +1430,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -1477,7 +1475,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1491,8 +1489,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (computed .d.ts) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1547,8 +1545,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via '@ref/a' from file 'b.d.ts' b.d.ts @@ -1571,7 +1569,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/a.ts: *new* {} @@ -1616,7 +1614,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1630,8 +1628,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1686,8 +1684,8 @@ Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveRe 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1710,7 +1708,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -1755,7 +1753,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -1769,8 +1767,8 @@ Shape signatures in builder refreshed for:: /user/username/projects/transitivereferences/c.ts (used version) Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 0cf1f81035388..143ce75ef8cd1 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,8 +58,6 @@ interface Array { length: number; [n: 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] export const a = 10; @@ -69,16 +67,16 @@ export declare const a = 10; //// [/user/username/workspace/project/tsconfig.A.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/workspace/project/tsconfig.A.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/a/a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -107,7 +105,7 @@ export declare const a = 10; }, "latestChangedDtsFile": "./src/a/a.d.ts", "version": "FakeTSVersion", - "size": 752 + "size": 740 } @@ -124,7 +122,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.es2024.full.d.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 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 @@ -148,7 +146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/project/src/b/b.ts: *new* {} @@ -177,15 +175,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/project/src/b/b.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspace/project/src/b/b.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 311b19f960dbb..36afd6e84a182 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,8 +93,6 @@ interface Array { length: number; [n: number]: 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] export const World = "hello"; @@ -122,18 +120,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.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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -189,7 +187,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1369 + "size": 1357 } @@ -210,8 +208,8 @@ 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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -243,12 +241,12 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../core/index.d.ts", "../core/anothermodule.d.ts", "./index.ts" @@ -260,7 +258,7 @@ export declare const m: typeof mod; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -306,7 +304,7 @@ export declare const m: typeof mod; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1416 + "size": 1404 } @@ -319,7 +317,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.d.ts: *new* {} @@ -355,26 +353,26 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 @@ -413,18 +411,18 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./anothermodule.ts", "./index.ts", "./some_decl.d.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -480,7 +478,7 @@ export declare function multiply(a: number, b: number): number; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1370 + "size": 1358 } @@ -497,8 +495,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -530,7 +528,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -540,8 +538,8 @@ Semantic diagnostics in builder refreshed for:: No shapes updated in the builder:: Dependencies for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 b76cd077b746d..e186a66ac3b36 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,8 +79,6 @@ interface Array { length: number; [n: number]: 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] export class A { } @@ -92,16 +90,16 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -130,7 +128,7 @@ export declare class A { }, "latestChangedDtsFile": "./a.d.ts", "version": "FakeTSVersion", - "size": 737 + "size": 725 } //// [/user/username/projects/transitiveReferences/b.js] @@ -144,12 +142,12 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.d.ts", "./b.ts" ], @@ -159,7 +157,7 @@ export declare const b: A; ] ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -197,7 +195,7 @@ export declare const b: A; }, "semanticDiagnosticsPerFile": [ [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -211,7 +209,7 @@ export declare const b: A; ], "latestChangedDtsFile": "./b.d.ts", "version": "FakeTSVersion", - "size": 926 + "size": 914 } //// [/user/username/projects/transitiveReferences/c.js] @@ -268,8 +266,8 @@ Explicitly specified module resolution kind: 'Classic'. 6 "baseUrl": "./",    ~~~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.d.ts Imported via "a" from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -293,7 +291,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/transitiveReferences/a.d.ts: *new* {} @@ -333,7 +331,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/transitiveReferences/a.d.ts /user/username/projects/transitiveReferences/b.d.ts /user/username/projects/transitiveReferences/refs/a.d.ts @@ -342,15 +340,15 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts: + /home/src/tslibs/TS/Lib/lib.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 1e343759982a1..049198a748d5f 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js @@ -32,8 +32,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/f1.js] foo(); @@ -53,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/d/f0.ts: *new* {} @@ -72,14 +70,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/f1.ts (used version) /users/username/projects/project/d/f0.ts (used version) @@ -129,7 +127,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/f1.ts /users/username/projects/project/d/f0.ts @@ -184,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: *new* {} @@ -210,7 +208,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/d/f0.ts No cached semantic diagnostics in the builder:: @@ -261,7 +259,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/d/f0.ts: {} @@ -287,7 +285,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 31c4fed79254b..7283cd465d95b 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/test.js] export {}; @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -84,17 +82,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 397daa690dddf..da30f89cf9fa1 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/test.js] export {}; @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -79,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 16c44c8017b2b..17bf5ddff73e8 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,8 +29,6 @@ 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"; @@ -50,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -67,13 +65,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/foo.ts (used version) exitCode:: ExitStatus.undefined @@ -122,7 +120,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: {} @@ -147,7 +145,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 719f28d7b3189..60d8ae6a27933 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' fileWithImports.ts @@ -196,8 +196,6 @@ 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] export {}; @@ -217,12 +215,12 @@ export {}; //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../node_modules/pkg0/index.d.ts", "../filewithimports.ts", "../node_modules/pkg2/index.d.ts", @@ -237,7 +235,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -337,7 +335,7 @@ export {}; ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1706 + "size": 1694 } @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -398,21 +396,21 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -543,8 +541,8 @@ FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/p 3 interface LocalInterface extends Import2, Import3 {}    ~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' node_modules/pkg1/index.d.ts @@ -561,12 +559,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.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"} +{"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"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../node_modules/pkg0/index.d.ts", "../node_modules/pkg1/index.d.ts", "../filewithimports.ts", @@ -583,7 +581,7 @@ fileWithTypeRefs.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -681,7 +679,7 @@ fileWithTypeRefs.ts ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1677 + "size": 1665 } @@ -706,7 +704,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -747,7 +745,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 +889,8 @@ FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/p 3 interface LocalInterface extends Import2, Import3 {}    ~~~~~~~ -../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' node_modules/pkg1/index.d.ts @@ -911,12 +909,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.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"} +{"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"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../node_modules/pkg0/index.d.ts", "../node_modules/pkg1/index.d.ts", "../filewithimports.ts", @@ -935,7 +933,7 @@ fileWithTypeRefs.ts ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -1043,7 +1041,7 @@ fileWithTypeRefs.ts ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1785 + "size": 1773 } @@ -1070,7 +1068,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -1113,7 +1111,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 29a4715f4d94d..b88756fd5acdb 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +93,6 @@ 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] import { myapp } from "@myapp/ts-types"; const x = myapp; @@ -112,7 +110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -141,15 +139,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/lib/app.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/lib/app.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/lib/app.ts (used version) exitCode:: ExitStatus.undefined @@ -202,7 +200,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -306,7 +304,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/lib/app.ts Semantic diagnostics in builder refreshed for:: @@ -433,7 +431,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/lib/app.ts Semantic diagnostics in builder refreshed for:: @@ -606,7 +604,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -640,7 +638,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4937d836fc73b..8f8c7d3238219 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,8 +32,6 @@ 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"; @@ -49,7 +47,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -66,14 +64,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/bar.d.ts (used version) /users/username/projects/project/foo.ts (used version) @@ -117,7 +115,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: *new* {} @@ -142,7 +140,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/foo.ts No cached semantic diagnostics in the builder:: @@ -201,7 +199,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: {} @@ -223,7 +221,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fd12748d129fd..e47261c6f9166 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 @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +67,6 @@ 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] export const y = 10; @@ -86,7 +84,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspaces/project/src/app/services/generated/index.ts: *new* {} @@ -113,17 +111,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -206,7 +204,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspaces/project/src/main.ts: {} @@ -239,7 +237,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/workspaces/project/src/main.ts Semantic diagnostics in builder refreshed for:: @@ -332,7 +330,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspaces/project/src/app/services/generated/index.ts: *new* {} @@ -360,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0baf35abba26a..e1f603739a710 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,8 +51,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/lib/app.js] myapp.component("hello"); @@ -65,7 +63,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/lib/app.ts: *new* {} @@ -89,13 +87,13 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/lib/app.ts (used version) exitCode:: ExitStatus.undefined @@ -129,7 +127,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/lib/app.ts: {} @@ -184,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/lib/app.ts: {} @@ -215,7 +213,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0e08902828976..1191d3f8dccbe 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,8 +68,6 @@ 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 }); @@ -87,7 +85,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/linked-package/dist/index.d.ts: *new* {} @@ -119,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -127,7 +125,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 e381c03adde83..dc851acca81a4 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,8 +44,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/foo.js] export {}; @@ -62,7 +60,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -82,17 +80,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/foo.ts (used version) /users/username/projects/project/bar.d.ts (used version) @@ -145,7 +143,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b0c772843c20a..04016c90983eb 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +73,6 @@ 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"); @@ -97,7 +95,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/node_modules/@types/node/base.d.ts: *new* {} @@ -130,7 +128,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -138,7 +136,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -146,7 +144,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -306,7 +304,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -342,11 +340,11 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/worker.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/worker.ts Shape signatures in builder refreshed for:: @@ -443,7 +441,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: *new* {} @@ -471,7 +469,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts @@ -546,7 +544,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: {} @@ -574,7 +572,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/worker.ts /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts @@ -683,7 +681,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: {} @@ -726,7 +724,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -735,7 +733,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 edc79dc16dc80..81996bb28b353 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,8 +32,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/users/username/projects/project/foo.js] export {}; @@ -50,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -67,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/foo.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /users/username/projects/project/foo.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /users/username/projects/project/foo.ts (used version) exitCode:: ExitStatus.undefined @@ -117,7 +115,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -159,7 +157,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -190,7 +188,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 921dc3add8334..dc499380974d7 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,8 +35,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/a.js] export {}; @@ -53,7 +51,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -70,15 +68,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) exitCode:: ExitStatus.undefined @@ -109,7 +107,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -162,7 +160,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -191,7 +189,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3e957888bf998..b95048ad923cf 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,8 +52,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/a/b/projects/myProject/dist/file1.js] module1("hello"); export {}; @@ -94,7 +92,7 @@ FsWatches:: {} /a/b/projects/myProject/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -119,7 +117,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -127,7 +125,7 @@ Program files:: No cached semantic diagnostics in the builder:: Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -189,7 +187,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ae8af2114b114..1c000139fa7a5 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,20 +45,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/home/src/projects/project/main.js] import data from "./data.json"; let x = data; //// [/home/src/projects/project/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/home/src/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../tslibs/ts/lib/lib.es2024.full.d.ts", + "../../tslibs/ts/lib/lib.d.ts", "./data.d.json.ts", "./main.ts" ], @@ -68,7 +66,7 @@ let x = data; ] ], "fileInfos": { - "../../tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../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 @@ -116,7 +114,7 @@ let x = data; ] ], "version": "FakeTSVersion", - "size": 982 + "size": 970 } @@ -133,7 +131,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -152,17 +150,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/project/data.d.json.ts (used version) /home/src/projects/project/main.ts (used version) @@ -214,7 +212,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 01b84be1b3b8b..2344183fb6807 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -83,17 +81,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -136,7 +134,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -151,12 +149,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -168,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -213,7 +211,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1027 + "size": 1015 } @@ -228,12 +226,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -245,7 +243,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -290,7 +288,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 995 + "size": 983 } @@ -309,7 +307,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 43745c665fbc1..b5e6ac48b7e7f 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,8 +66,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -85,17 +83,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -138,7 +136,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -153,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -170,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -225,7 +223,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1119 + "size": 1107 } @@ -240,12 +238,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -257,7 +255,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -302,7 +300,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 995 + "size": 983 } @@ -321,7 +319,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -366,7 +364,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b4d71cf6a795d..1820df6239c4c 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/index.js] import { foo } from 'b'; import { bar } from 'b/lib/bar'; @@ -90,12 +88,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -107,7 +105,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -152,7 +150,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 995 + "size": 983 } @@ -171,7 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -219,19 +217,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 3412bb531a1d1..5502cd26ad8f6 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -83,17 +81,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -136,7 +134,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -151,12 +149,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -168,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -213,7 +211,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1041 + "size": 1029 } @@ -228,12 +226,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -245,7 +243,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -290,7 +288,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 997 } @@ -309,7 +307,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -353,7 +351,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 622b30dfcb27a..aaabd794872fe 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,8 +66,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -85,17 +83,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -138,7 +136,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -153,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -170,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -225,7 +223,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1147 + "size": 1135 } @@ -240,12 +238,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -257,7 +255,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -302,7 +300,7 @@ Output:: }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 997 } @@ -321,7 +319,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -366,7 +364,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 52460106d400b..91b9dffd5dc4b 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,8 +76,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/index.js] import { foo } from '@issue/b'; import { bar } from '@issue/b/lib/bar'; @@ -90,12 +88,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -107,7 +105,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -152,7 +150,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 997 } @@ -171,7 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -219,19 +217,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 20cbaa88a4775..b2add497fb99b 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,8 +74,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/index.js] import { foo } from '@issue/b'; import { bar } from '@issue/b/lib/bar'; @@ -88,12 +86,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -105,7 +103,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -150,7 +148,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1009 + "size": 997 } @@ -169,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -216,19 +214,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 fd9cda6a516cb..a42956450fcac 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,8 +74,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/index.js] import { foo } from 'b'; import { bar } from 'b/lib/bar'; @@ -88,12 +86,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/index.ts", "../b/src/bar.ts", "./src/index.ts" @@ -105,7 +103,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -150,7 +148,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 995 + "size": 983 } @@ -169,7 +167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -216,19 +214,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 bace60a691853..bf4b6394cf4ce 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,8 +61,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -80,17 +78,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -133,7 +131,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -148,12 +146,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -165,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -210,7 +208,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1040 + "size": 1028 } @@ -225,12 +223,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -242,7 +240,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -287,7 +285,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1008 + "size": 996 } @@ -306,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -348,7 +346,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5a84f574ae123..f94470f40e19d 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,8 +63,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -82,17 +80,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -135,7 +133,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -150,12 +148,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -222,7 +220,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1132 + "size": 1120 } @@ -237,12 +235,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -254,7 +252,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -299,7 +297,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1008 + "size": 996 } @@ -318,7 +316,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -361,7 +359,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 530a78836f913..c85b4dd055884 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/test.js] import { foo } from 'b/lib/foo'; import { bar } from 'b/lib/bar/foo'; @@ -87,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -104,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -149,7 +147,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1008 + "size": 996 } @@ -168,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -214,19 +212,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 695716fac4bd8..12dbe1c8b64d9 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,8 +61,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -80,17 +78,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -133,7 +131,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -148,12 +146,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -165,7 +163,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -210,7 +208,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1055 + "size": 1043 } @@ -225,12 +223,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -242,7 +240,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -287,7 +285,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -306,7 +304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -348,7 +346,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 568f835bb42a1..42d97818d8f2d 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,8 +63,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -82,17 +80,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -135,7 +133,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -150,12 +148,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -222,7 +220,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1161 + "size": 1149 } @@ -237,12 +235,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.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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -254,7 +252,7 @@ Output:: ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -299,7 +297,7 @@ Output:: }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -318,7 +316,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -361,7 +359,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7b981d60c1a03..81fd7fa519e57 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,8 +73,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/test.js] import { foo } from '@issue/b/lib/foo'; import { bar } from '@issue/b/lib/bar/foo'; @@ -87,12 +85,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -104,7 +102,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -149,7 +147,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -168,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -214,19 +212,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 4ad24fcabae68..11608aaee0417 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,8 +71,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/test.js] import { foo } from '@issue/b/lib/foo'; import { bar } from '@issue/b/lib/bar/foo'; @@ -85,12 +83,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -102,7 +100,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -147,7 +145,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1023 + "size": 1011 } @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -211,19 +209,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 77570a17b7bd7..93f0882b73ae8 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,8 +71,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/packages/A/lib/test.js] import { foo } from 'b/lib/foo'; import { bar } from 'b/lib/bar/foo'; @@ -85,12 +83,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/src/foo.ts", "../b/src/bar/foo.ts", "./src/test.ts" @@ -102,7 +100,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -147,7 +145,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1008 + "size": 996 } @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -211,19 +209,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js index eec79d1b4d608..d73c80d26acf7 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -178,14 +178,14 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/packag Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Wild card directory -//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 31 +//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 32 -//// [/home/src/projects/project/packages/package2/dist/index.js] Inode:: 123 +//// [/home/src/projects/project/packages/package2/dist/index.js] Inode:: 127 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] Inode:: 124 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] Inode:: 128 export {}; @@ -220,7 +220,7 @@ FsWatches:: /home/src/projects/project/packages/package2: *new* {"inode":11} /home/src/projects/project/packages/package2/dist: *new* - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: *new* {"inode":12} /home/src/projects/project/packages/package2/src: *new* @@ -230,7 +230,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: *new* {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* - {"inode":31} + {"inode":32} Program root files: [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -270,20 +270,20 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 126 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 130 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 127 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 131 export type FooType = "foo"; export type BarType = "bar"; -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 128 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 132 {"root":["./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 129 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 133 { "root": [ "./src/index.ts" @@ -335,7 +335,7 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -343,7 +343,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -353,7 +353,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Timeout callback:: count: 1 8: timerToInvalidateFailedLookupResolutions *new* @@ -421,8 +421,8 @@ packages/package2/src/index.ts -//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 123 -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 124 +//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 127 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 128 PolledWatches:: /home/src/projects/node_modules/@types: @@ -450,9 +450,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -460,7 +460,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -470,7 +470,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Program root files: [ @@ -555,7 +555,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -565,13 +565,13 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} FsWatches *deleted*:: /home/src/projects/project/packages/package1/dist: - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":127} + {"inode":131} Timeout callback:: count: 2 10: timerToUpdateProgram *new* @@ -657,8 +657,8 @@ Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1 :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations -//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 123 -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 124 +//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 127 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 128 PolledWatches:: /home/src/projects/node_modules: *new* @@ -696,7 +696,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -706,7 +706,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Timeout callback:: count: 1 16: timerToInvalidateFailedLookupResolutions *new* @@ -874,14 +874,14 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 129 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 131 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 133 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 135 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 132 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 136 export type FooType = "foo"; export type BarType = "bar"; @@ -928,7 +928,7 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -936,7 +936,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -946,7 +946,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Timeout callback:: count: 1 21: timerToInvalidateFailedLookupResolutions *new* @@ -1014,8 +1014,8 @@ packages/package2/src/index.ts -//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 123 -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 124 +//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 127 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 128 PolledWatches:: /home/src/projects/node_modules/@types: @@ -1043,9 +1043,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1053,7 +1053,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -1063,7 +1063,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Program root files: [ diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index b4be4b2b34d7f..c658321b21f1d 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -81,22 +81,22 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 31 +//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 32 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 123 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 127 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 124 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 128 export type FooType = "foo"; export type BarType = "bar"; -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 125 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 129 {"root":["./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 126 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 130 { "root": [ "./src/index.ts" @@ -176,12 +176,12 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/packag Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Wild card directory -//// [/home/src/projects/project/packages/package2/dist/index.js] Inode:: 128 +//// [/home/src/projects/project/packages/package2/dist/index.js] Inode:: 132 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] Inode:: 129 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] Inode:: 133 export {}; @@ -208,9 +208,9 @@ FsWatches:: /home/src/projects/project/packages/package1: *new* {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":124} + {"inode":128} /home/src/projects/project/packages/package1/package.json: *new* {"inode":7} /home/src/projects/project/packages/package1/src: *new* @@ -218,7 +218,7 @@ FsWatches:: /home/src/projects/project/packages/package2: *new* {"inode":11} /home/src/projects/project/packages/package2/dist: *new* - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package2/package.json: *new* {"inode":12} /home/src/projects/project/packages/package2/src: *new* @@ -228,7 +228,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: *new* {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* - {"inode":31} + {"inode":32} Program root files: [ "/home/src/projects/project/packages/package2/src/index.ts" @@ -314,7 +314,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -324,13 +324,13 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} FsWatches *deleted*:: /home/src/projects/project/packages/package1/dist: - {"inode":122} + {"inode":126} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":124} + {"inode":128} Timeout callback:: count: 2 1: timerToUpdateProgram *new* @@ -419,8 +419,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/node_ sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: 0 undefined -//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 129 +//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 133 PolledWatches:: /home/src/projects/node_modules: *new* @@ -458,7 +458,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -468,7 +468,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Timeout callback:: count: 1 7: timerToInvalidateFailedLookupResolutions *new* @@ -636,14 +636,14 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 125 -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 126 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 131 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 129 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 130 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 135 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 132 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 136 export type FooType = "foo"; export type BarType = "bar"; @@ -690,7 +690,7 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -698,7 +698,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -708,7 +708,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Timeout callback:: count: 1 12: timerToInvalidateFailedLookupResolutions *new* @@ -776,8 +776,8 @@ packages/package2/src/index.ts -//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 129 +//// [/home/src/projects/project/packages/package2/dist/index.js] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package2/dist/index.d.ts] file written with same contents Inode:: 133 PolledWatches:: /home/src/projects/node_modules/@types: @@ -805,9 +805,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -815,7 +815,7 @@ FsWatches:: /home/src/projects/project/packages/package2: {"inode":11} /home/src/projects/project/packages/package2/dist: - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package2/package.json: {"inode":12} /home/src/projects/project/packages/package2/src: @@ -825,7 +825,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":31} + {"inode":32} Program root files: [ 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 94d251101e13c..b2951dcb4edbc 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 @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library 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,7 @@ 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 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 148 export {}; @@ -262,8 +260,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":42} Program root files: [ "/home/src/projects/b/2/b-impl/b/src/index.ts" @@ -280,15 +278,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/b/2/b-impl/b/src/index.ts (used version) exitCode:: ExitStatus.undefined @@ -296,7 +294,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 145 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 149 export const a = 10; @@ -314,7 +312,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 146 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 150 export const a = 10; @@ -332,26 +330,26 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 152 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 153 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 154 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 155 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 156 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 153 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 157 { "root": [ "./src/c.ts", @@ -361,28 +359,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 159 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 160 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 161 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 162 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 163 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 160 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 164 { "root": [ "./src/a.ts", @@ -437,7 +435,7 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":154} + {"inode":158} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -462,8 +460,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} Timeout callback:: count: 1 8: timerToInvalidateFailedLookupResolutions *new* @@ -577,8 +575,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -593,7 +591,7 @@ src/index.ts -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 144 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 148 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* @@ -623,11 +621,11 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib: - {"inode":154} + {"inode":158} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":156} + {"inode":160} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":158} + {"inode":162} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -649,15 +647,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":147} + {"inode":151} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":149} + {"inode":153} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":151} + {"inode":155} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -683,7 +681,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -709,7 +707,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 161 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 165 export const a = 10; @@ -727,7 +725,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -856,22 +854,22 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"inode":154} + {"inode":158} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":156} + {"inode":160} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":158} + {"inode":162} /home/src/projects/c/3/c-impl/c/lib: - {"inode":147} + {"inode":151} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":149} + {"inode":153} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":151} + {"inode":155} Timeout callback:: count: 2 20: timerToUpdateProgram *new* @@ -967,15 +965,15 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 144 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 148 PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: @@ -1042,8 +1040,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1068,7 +1066,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -1101,40 +1099,40 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 152 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 153 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 156 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 163 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 164 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 168 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 169 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 170 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 171 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 173 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 174 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 175 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 176 export * from './a'; export * from 'c'; @@ -1183,7 +1181,7 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":168} + {"inode":172} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1208,8 +1206,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} Timeout callback:: count: 1 27: timerToInvalidateFailedLookupResolutions *new* @@ -1321,8 +1319,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1337,7 +1335,7 @@ src/index.ts -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 144 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 148 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* @@ -1367,11 +1365,11 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib: - {"inode":168} + {"inode":172} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":170} + {"inode":174} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":172} + {"inode":176} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1393,15 +1391,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":163} + {"inode":167} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":165} + {"inode":169} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":167} + {"inode":171} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1427,7 +1425,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f9000db710ae3..16de61c7944f7 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 @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library 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,7 @@ 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 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 148 export {}; @@ -250,8 +248,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":42} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* @@ -276,15 +274,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/b/2/b-impl/b/src/index.ts (used version) exitCode:: ExitStatus.undefined @@ -292,7 +290,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 145 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 149 export const a = 10; @@ -310,7 +308,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 146 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 150 export const a = 10; @@ -328,26 +326,26 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 152 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 153 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 154 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 155 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 156 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 153 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 157 { "root": [ "./src/c.ts", @@ -357,28 +355,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 159 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 160 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 161 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 162 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 163 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 160 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 164 { "root": [ "./src/a.ts", @@ -525,8 +523,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -541,7 +539,7 @@ src/index.ts -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 144 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 148 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* @@ -571,9 +569,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":156} + {"inode":160} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":158} + {"inode":162} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -589,13 +587,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":149} + {"inode":153} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":151} + {"inode":155} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -633,7 +631,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -659,7 +657,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 161 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 165 export const a = 10; @@ -688,7 +686,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -816,18 +814,18 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":156} + {"inode":160} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":158} + {"inode":162} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":149} + {"inode":153} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":151} + {"inode":155} FsWatchesRecursive:: /home/src/projects/a: @@ -935,15 +933,15 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 144 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 148 PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: @@ -994,8 +992,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1036,7 +1034,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -1050,40 +1048,40 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 152 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 153 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 156 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 163 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 164 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 168 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 169 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 170 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 171 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 173 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 174 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 175 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 176 export * from './a'; export * from 'c'; @@ -1216,8 +1214,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1232,7 +1230,7 @@ src/index.ts -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 144 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 148 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* @@ -1262,9 +1260,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":170} + {"inode":174} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":172} + {"inode":176} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -1280,13 +1278,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":165} + {"inode":169} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":167} + {"inode":171} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1324,7 +1322,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e7014747a2f99..43e52f301ae16 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 @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -206,8 +206,6 @@ 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] export {}; @@ -250,7 +248,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -276,15 +274,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /home/src/projects/b/2/b-impl/b/src/index.ts (used version) exitCode:: ExitStatus.undefined @@ -525,8 +523,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -594,7 +592,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -633,7 +631,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -865,8 +863,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -916,7 +914,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -966,7 +964,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -1146,8 +1144,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1215,7 +1213,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1254,7 +1252,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b6c63959fb06f..e1fd6b9b34448 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,28 +90,26 @@ interface Array { length: 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 145 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 149 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 146 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 150 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 147 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 151 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 152 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 153 { "root": [ "./src/c.ts", @@ -121,28 +119,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 151 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 155 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 152 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 156 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 153 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 157 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 154 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 158 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 159 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 160 { "root": [ "./src/a.ts", @@ -233,7 +231,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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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 @@ -266,8 +264,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -284,7 +282,7 @@ 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/projects/b/2/b-impl/b/lib/index.js] Inode:: 158 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 162 export {}; @@ -307,11 +305,11 @@ FsWatches:: /home/src/projects: *new* {"inode":3} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":150} + {"inode":154} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":152} + {"inode":156} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":154} + {"inode":158} /home/src/projects/a/1/a-impl/a/node_modules: *new* {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: *new* @@ -333,15 +331,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":143} + {"inode":147} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":145} + {"inode":149} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":147} + {"inode":151} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":42} Program root files: [ "/home/src/projects/b/2/b-impl/b/src/index.ts" @@ -358,7 +356,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -366,7 +364,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -374,7 +372,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -386,7 +384,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 159 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 163 export const a = 10; @@ -404,7 +402,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 160 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 164 export const a = 10; @@ -422,7 +420,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 161 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 165 export const a = 10; @@ -440,7 +438,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -569,22 +567,22 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"inode":150} + {"inode":154} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":152} + {"inode":156} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":154} + {"inode":158} /home/src/projects/c/3/c-impl/c/lib: - {"inode":143} + {"inode":147} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":145} + {"inode":149} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":147} + {"inode":151} Timeout callback:: count: 2 11: timerToUpdateProgram *new* @@ -680,15 +678,15 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 158 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 162 PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: @@ -755,8 +753,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -781,7 +779,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -814,40 +812,40 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 148 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 149 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 153 +//// [/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:: 168 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 169 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 170 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 171 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 173 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 174 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 175 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 176 export * from './a'; export * from 'c'; @@ -896,7 +894,7 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":168} + {"inode":172} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -921,8 +919,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} Timeout callback:: count: 1 18: timerToInvalidateFailedLookupResolutions *new* @@ -1034,8 +1032,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1050,7 +1048,7 @@ src/index.ts -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 158 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 162 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* @@ -1080,11 +1078,11 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib: - {"inode":168} + {"inode":172} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":170} + {"inode":174} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":172} + {"inode":176} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1106,15 +1104,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":163} + {"inode":167} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":165} + {"inode":169} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":167} + {"inode":171} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1140,7 +1138,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d5c97527eaabd..f2a8853f43f5a 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,28 +90,26 @@ interface Array { length: 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 148 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 145 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 149 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 146 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 150 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 147 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 151 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 152 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 153 { "root": [ "./src/c.ts", @@ -121,28 +119,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 151 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 155 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 152 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 156 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 153 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 157 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 154 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 158 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 159 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 160 { "root": [ "./src/a.ts", @@ -233,7 +231,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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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 @@ -266,8 +264,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -284,7 +282,7 @@ 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/projects/b/2/b-impl/b/lib/index.js] Inode:: 158 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] Inode:: 162 export {}; @@ -307,9 +305,9 @@ FsWatches:: /home/src/projects: *new* {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":152} + {"inode":156} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":154} + {"inode":158} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} /home/src/projects/b: *new* @@ -325,13 +323,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":145} + {"inode":149} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":147} + {"inode":151} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":42} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -360,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -368,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -376,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -388,7 +386,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 159 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 163 export const a = 10; @@ -417,7 +415,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 160 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 164 export const a = 10; @@ -446,7 +444,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in a Input:: -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 161 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 165 export const a = 10; @@ -475,7 +473,7 @@ exitCode:: ExitStatus.undefined Change:: change in unrelated folder in c Input:: -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -603,18 +601,18 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":152} + {"inode":156} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":154} + {"inode":158} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":145} + {"inode":149} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":147} + {"inode":151} FsWatchesRecursive:: /home/src/projects/a: @@ -722,15 +720,15 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 158 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 162 PolledWatches:: /home/src/projects/b/2/b-impl/b/node_modules/@types: @@ -781,8 +779,8 @@ FsWatches:: {"inode":35} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -823,7 +821,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -837,40 +835,40 @@ exitCode:: ExitStatus.undefined Change:: Build dependencies Input:: -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 148 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 149 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 153 +//// [/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:: 168 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 169 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 170 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 171 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 169 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 173 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 174 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 175 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 176 export * from './a'; export * from 'c'; @@ -1003,8 +1001,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1019,7 +1017,7 @@ src/index.ts -//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 158 +//// [/home/src/projects/b/2/b-impl/b/lib/index.js] file written with same contents Inode:: 162 PolledWatches:: /home/src/projects/a/1/a-impl/a/lib/node_modules: *new* @@ -1049,9 +1047,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":170} + {"inode":174} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":172} + {"inode":176} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -1067,13 +1065,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":165} + {"inode":169} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":167} + {"inode":171} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":44} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":42} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1111,7 +1109,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5217e9b7e285a..f7bb9fc4a0844 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,8 +90,6 @@ interface Array { length: 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] export const c = 'test'; @@ -233,7 +231,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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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 @@ -266,8 +264,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -330,7 +328,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -360,7 +358,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -368,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -376,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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -652,8 +650,8 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/c/3/c-impl/c/package.json 20 1 import { a } from 'a';    ~~~ -../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' [HH:MM:SS AM] Found 1 error. Watching for file changes. @@ -703,7 +701,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -753,7 +751,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/b/2/b-impl/b/src/index.ts Semantic diagnostics in builder refreshed for:: @@ -933,8 +931,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.es2024.full.d.ts - Default library for target 'es2024' +../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1002,7 +1000,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1041,7 +1039,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f88e3b71697e2..8c5fb01c964d3 100644 --- a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js +++ b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js @@ -33,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/main.js] const x = 10; @@ -50,7 +48,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -73,17 +71,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.vue (used version) @@ -123,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -150,7 +148,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8ca299f2205f0..db7277d19a215 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +62,6 @@ 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] export {}; @@ -76,7 +74,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -95,17 +93,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/other.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -161,7 +159,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts @@ -224,7 +222,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts @@ -290,7 +288,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -312,7 +310,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ea15e6714bfba..11518937e1746 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +62,6 @@ 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] export {}; @@ -76,7 +74,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -95,17 +93,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/other.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -183,7 +181,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/other.d.ts /user/username/projects/myproject/main.ts @@ -249,7 +247,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -271,7 +269,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 06a588a0f0654..5a60935da7fea 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,20 +37,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -102,7 +100,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 757 + "size": 745 } @@ -113,7 +111,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -137,17 +135,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -163,17 +161,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -214,7 +212,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 867 + "size": 855 } //// [/user/username/projects/myproject/main.js] @@ -247,7 +245,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -257,7 +255,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -284,7 +282,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -309,7 +307,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -332,17 +330,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -392,7 +390,7 @@ Output:: ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 919 + "size": 907 } @@ -403,7 +401,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -427,7 +425,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -449,17 +447,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -500,7 +498,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 883 + "size": 871 } //// [/user/username/projects/myproject/main.js] @@ -522,7 +520,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -532,7 +530,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -559,7 +557,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -585,7 +583,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -608,17 +606,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -659,7 +657,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 887 } //// [/user/username/projects/myproject/main.js] @@ -676,7 +674,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -699,7 +697,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d8178e92c0301..df3f89ee3d19f 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,20 +37,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -102,7 +100,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 757 + "size": 745 } @@ -113,7 +111,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -137,17 +135,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -170,17 +168,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -221,7 +219,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 867 + "size": 855 } //// [/user/username/projects/myproject/main.js] @@ -254,7 +252,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -264,7 +262,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -291,7 +289,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -323,7 +321,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -346,17 +344,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -406,7 +404,7 @@ Output:: ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 919 + "size": 907 } @@ -417,7 +415,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -441,7 +439,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -470,17 +468,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -521,7 +519,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 883 + "size": 871 } //// [/user/username/projects/myproject/main.js] @@ -543,7 +541,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -553,7 +551,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -580,7 +578,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -613,7 +611,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -636,17 +634,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -687,7 +685,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 899 + "size": 887 } //// [/user/username/projects/myproject/main.js] @@ -705,7 +703,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -728,7 +726,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 548cd8356f4bb..2281fdc522468 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,20 +43,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -117,7 +115,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 927 + "size": 915 } @@ -128,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -152,17 +150,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -183,7 +181,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -211,17 +209,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -286,7 +284,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -297,7 +295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -321,7 +319,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -347,7 +345,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -370,17 +368,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -422,7 +420,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 888 + "size": 876 } //// [/user/username/projects/myproject/main.js] @@ -449,7 +447,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -473,7 +471,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0dfa212d93cc8..5a8c964d444c4 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,20 +43,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -117,7 +115,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 927 + "size": 915 } @@ -128,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -152,17 +150,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -190,7 +188,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -218,17 +216,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -293,7 +291,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 1016 + "size": 1004 } @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -328,7 +326,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -361,7 +359,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -384,17 +382,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -436,7 +434,7 @@ Output:: }, "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 888 + "size": 876 } //// [/user/username/projects/myproject/main.js] @@ -463,7 +461,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -487,7 +485,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 97afef2d8b5c9..6d0d7f661eea5 100644 --- a/tests/baselines/reference/tscWatch/watchApi/multiFile/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/multiFile/semantic-builder-emitOnlyDts.js @@ -43,20 +43,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -117,7 +115,7 @@ Output:: "./other.ts" ], "version": "FakeTSVersion", - "size": 927 + "size": 915 } @@ -128,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -152,17 +150,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -182,7 +180,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -204,17 +202,17 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./main.ts", "./other.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -272,7 +270,7 @@ Output:: ], "latestChangedDtsFile": "./other.d.ts", "version": "FakeTSVersion", - "size": 929 + "size": 917 } //// [/user/username/projects/myproject/main.d.ts] @@ -291,7 +289,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -315,7 +313,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2442329400d91..23fbab00fabc0 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -43,7 +41,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -66,17 +64,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) /user/username/projects/myproject/other.ts (used version) @@ -118,7 +116,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 83ed2706dd783..318fa417eb2fb 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,20 +65,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -140,7 +138,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node "./b.ts" ], "version": "FakeTSVersion", - "size": 920 + "size": 908 } @@ -151,7 +149,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -173,17 +171,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/a.ts (used version) /user/username/projects/myproject/b.ts (used version) @@ -220,17 +218,17 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../home/src/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 @@ -283,7 +281,7 @@ CreatingProgramWith:: ], "errors": true, "version": "FakeTSVersion", - "size": 855 + "size": 843 } @@ -301,7 +299,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3ddab7ebfc560..3a6d766986106 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,20 +49,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -82,12 +80,12 @@ Output:: "outFile": "./outFile.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "version": "FakeTSVersion", - "size": 730 + "size": 718 } @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -124,7 +122,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -154,17 +152,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -185,7 +183,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -200,7 +198,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": 925 + "size": 913 } //// [/user/username/projects/outFile.js] @@ -241,7 +239,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -251,7 +249,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -280,7 +278,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -305,7 +303,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -338,17 +336,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -373,7 +371,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": 924 + "size": 912 } @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -410,7 +408,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -440,17 +438,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -471,7 +469,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -486,7 +484,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": 941 + "size": 929 } //// [/user/username/projects/outFile.js] @@ -519,7 +517,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -529,7 +527,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -558,7 +556,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -584,7 +582,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -617,17 +615,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -648,7 +646,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -663,7 +661,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": 957 + "size": 945 } //// [/user/username/projects/outFile.js] @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -716,7 +714,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 917dd5fa135bd..c0ab852fc83ec 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,20 +49,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -82,12 +80,12 @@ Output:: "outFile": "./outFile.js" }, "changeFileSet": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "version": "FakeTSVersion", - "size": 730 + "size": 718 } @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -124,7 +122,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -161,17 +159,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -192,7 +190,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -207,7 +205,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": 925 + "size": 913 } //// [/user/username/projects/outFile.js] @@ -248,7 +246,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -258,7 +256,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -287,7 +285,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -319,7 +317,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -352,17 +350,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -387,7 +385,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": 924 + "size": 912 } @@ -398,7 +396,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -424,7 +422,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -461,17 +459,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -492,7 +490,7 @@ Output:: }, "semanticDiagnosticsPerFile": [ [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -507,7 +505,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": 941 + "size": 929 } //// [/user/username/projects/outFile.js] @@ -540,7 +538,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} *new* /user/username/projects/myproject/main.ts: {} *new* @@ -550,7 +548,7 @@ FsWatches:: {} *new* FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -579,7 +577,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -612,7 +610,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -645,17 +643,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -680,7 +678,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": 940 + "size": 928 } //// [/user/username/projects/outFile.js] @@ -708,7 +706,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -733,7 +731,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4509b2826ff3b..a2e2289dd8ef7 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,20 +55,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-8089124208-export const x: string = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -107,7 +105,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 906 + "size": 894 } @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -144,12 +142,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -172,7 +170,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -210,17 +208,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-5691975201-export const x: string = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -259,7 +257,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 922 + "size": 910 } @@ -270,7 +268,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -296,12 +294,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -323,7 +321,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -356,17 +354,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -392,7 +390,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 761 + "size": 749 } @@ -403,7 +401,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -429,12 +427,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 13e7392f546e3..614f4c173579e 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,20 +55,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-8089124208-export const x: string = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -107,7 +105,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 906 + "size": 894 } @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -144,12 +142,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -179,7 +177,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -217,17 +215,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-5691975201-export const x: string = 10;\n// SomeComment", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -266,7 +264,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 922 + "size": 910 } @@ -277,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -303,12 +301,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -337,7 +335,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -370,17 +368,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -406,7 +404,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 761 + "size": 749 } @@ -417,7 +415,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -443,12 +441,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a8bc1846e29ed..e04c6439794c2 100644 --- a/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/outFile/semantic-builder-emitOnlyDts.js @@ -55,20 +55,18 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-8089124208-export const x: string = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -107,7 +105,7 @@ Output:: false ], "version": "FakeTSVersion", - "size": 906 + "size": 894 } @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -144,12 +142,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -171,7 +169,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches *deleted*:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main.ts: {} @@ -193,17 +191,17 @@ Output:: //// [/user/username/projects/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../home/src/tslibs/ts/lib/lib.d.ts", "./myproject/main.ts", "./myproject/other.ts" ], "fileInfos": { - "../../../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; };", + "../../../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; };", "./myproject/main.ts": "-10726455937-export const x = 10;", "./myproject/other.ts": "-13729955264-export const y = 10;" }, @@ -229,7 +227,7 @@ Output:: ], "errors": true, "version": "FakeTSVersion", - "size": 761 + "size": 749 } @@ -240,7 +238,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -266,12 +264,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1e49cfea67c76..d7303e7ba4425 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* @@ -47,7 +45,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -72,7 +70,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts /user/username/projects/myproject/other.ts @@ -124,7 +122,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fccdb7e567a84..4097c813ca761 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,20 +71,18 @@ 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.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"} +{"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"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../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; };", + "../../../../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; };", "./a.ts": "-10726455937-export const x = 10;", "./b.ts": "-11268290852-export const y: 10 = 20;" }, @@ -123,7 +121,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node false ], "version": "FakeTSVersion", - "size": 871 + "size": 859 } @@ -134,7 +132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a.ts: *new* {} @@ -157,12 +155,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/b.ts @@ -201,17 +199,17 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../home/src/tslibs/ts/lib/lib.d.ts", "./a.ts", "./b.ts" ], "fileInfos": { - "../../../../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; };", + "../../../../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; };", "./a.ts": "-10726455937-export const x = 10;", "./b.ts": "-13729955264-export const y = 10;" }, @@ -237,7 +235,7 @@ CreatingProgramWith:: ], "errors": true, "version": "FakeTSVersion", - "size": 737 + "size": 725 } @@ -256,12 +254,12 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d6866abacb52e..47505600dcce3 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,8 +43,6 @@ 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 }); @@ -58,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -77,17 +75,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 75b7b6edbf5d1..56b70a620d8cc 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,8 +52,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/index.js] let compiler = new Compiler(); for (let i = 0; j < 5; i++) { } @@ -67,7 +65,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/index.ts: *new* {} @@ -83,15 +81,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/index.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 0b9699fd83d48..5b5ca60c75990 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +85,6 @@ 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] class class2 { } @@ -98,17 +96,17 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -149,7 +147,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -163,7 +161,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 909 } @@ -178,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -206,14 +204,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -286,7 +284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -315,7 +313,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -357,7 +355,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -402,18 +400,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -463,7 +461,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -481,7 +479,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1025 + "size": 1013 } @@ -496,7 +494,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -527,7 +525,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 @@ -616,17 +614,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -667,7 +665,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -681,7 +679,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 921 + "size": 909 } @@ -698,7 +696,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -731,7 +729,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/projects/project1/class1.d.ts /user/username/projects/myproject/projects/project2/class2.ts @@ -775,7 +773,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -820,18 +818,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.d.ts", "../project1/class3.d.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -881,7 +879,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -899,7 +897,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1025 + "size": 1013 } @@ -914,7 +912,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -945,7 +943,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 97df204c20d23..ae86498635468 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +85,6 @@ 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] class class2 { } @@ -98,17 +96,17 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -149,7 +147,7 @@ declare class class2 { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -163,7 +161,7 @@ declare class class2 { ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 909 + "size": 897 } @@ -178,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.ts: *new* {} @@ -206,14 +204,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -261,18 +259,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.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"} +{"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"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../project1/class1.ts", "../project1/class3.ts", "./class2.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -324,7 +322,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -342,7 +340,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj ], "latestChangedDtsFile": "./class2.d.ts", "version": "FakeTSVersion", - "size": 1109 + "size": 1097 } @@ -357,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.ts: {} @@ -388,7 +386,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5ee25eb620e30..1cc7c1f533c1e 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +85,6 @@ 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] import { one } from './lib'; console.log(one); @@ -94,7 +92,7 @@ console.log(one); FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -119,17 +117,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/lib/index.d.ts (used version) /user/username/projects/project/app.ts (used version) @@ -188,7 +186,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6827fdc4e6cd6..6d3812dc7da62 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +83,6 @@ 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] import { one } from './lib'; console.log(one); @@ -92,7 +90,7 @@ console.log(one); FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -119,17 +117,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/lib/index.d.ts (used version) /user/username/projects/project/app.ts (used version) @@ -189,7 +187,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/lib/index.d.ts /user/username/projects/project/app.ts @@ -249,7 +247,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8780b62d06555..7318096db64c5 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,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/main.js] const x = 10; @@ -44,7 +42,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -63,15 +61,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -101,7 +99,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/bar.ts: *new* {} @@ -123,12 +121,12 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c3afa8f80708a..5778c4c6e1518 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,6 @@ 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] let a = "Hello"; @@ -51,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/main.ts: *new* {} @@ -65,15 +63,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/main.ts (used version) exitCode:: ExitStatus.undefined @@ -125,16 +123,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) exitCode:: ExitStatus.undefined @@ -210,7 +208,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7f511e31e43d9..f14b635cfdc77 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.es2024.full.d.ts 250 {"watchFile":5} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +45,6 @@ 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] export const x = 10; @@ -74,15 +72,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -162,7 +160,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 295c58ce89a7a..599c6dc465559 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +45,6 @@ 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] export const x = 10; @@ -59,7 +57,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main.ts: *new* {} @@ -76,15 +74,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -164,7 +162,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 72748a129e34c..cff39fe506f8b 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.es2024.full.d.ts 250 {"watchFile":5} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,9 +45,7 @@ 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 +//// [/user/username/projects/myproject/main.js] Inode:: 117 export const x = 10; @@ -74,15 +72,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -130,7 +128,7 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/main.js] Inode:: 113 +//// [/user/username/projects/myproject/main.js] Inode:: 117 export const x = 10; export const y = 10; @@ -147,7 +145,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 62e963c70f278..647b70a31ff39 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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,9 +45,7 @@ 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 +//// [/user/username/projects/myproject/main.js] Inode:: 117 export const x = 10; @@ -59,8 +57,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":14} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":12} /user/username/projects/myproject/main.ts: *new* {"inode":5} /user/username/projects/myproject/tsconfig.json: *new* @@ -76,15 +74,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/main.ts (used version) exitCode:: ExitStatus.undefined @@ -132,7 +130,7 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/main.js] Inode:: 113 +//// [/user/username/projects/myproject/main.js] Inode:: 117 export const x = 10; export const y = 10; @@ -149,7 +147,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 44fb9c82630a4..17ac6dc4ba741 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.es2024.full.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,9 +57,7 @@ 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 +//// [/user/username/projects/myproject/main.js] Inode:: 118 import { foo } from "./foo"; foo(); @@ -72,8 +70,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/foo.d.ts: *new* @@ -94,17 +92,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/foo.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -113,7 +111,7 @@ exitCode:: ExitStatus.undefined Change:: Replace file with rename event that introduces error Input:: -//// [/user/username/projects/myproject/foo.d.ts] Inode:: 115 +//// [/user/username/projects/myproject/foo.d.ts] Inode:: 119 export function foo2(): string; @@ -157,12 +155,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: - {"inode":115} *new* + {"inode":119} *new* /user/username/projects/myproject/main.ts: {"inode":5} /user/username/projects/myproject/tsconfig.json: @@ -203,7 +201,7 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 114 +//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 118 Timeout callback:: count: 0 9: timerToInvalidateFailedLookupResolutions *deleted* @@ -220,7 +218,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts @@ -237,7 +235,7 @@ exitCode:: ExitStatus.undefined Change:: Replace file with rename event that fixes error Input:: -//// [/user/username/projects/myproject/foo.d.ts] Inode:: 116 +//// [/user/username/projects/myproject/foo.d.ts] Inode:: 120 export function foo(): string; @@ -281,12 +279,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: - {"inode":116} *new* + {"inode":120} *new* /user/username/projects/myproject/main.ts: {"inode":5} /user/username/projects/myproject/tsconfig.json: @@ -294,7 +292,7 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/foo.d.ts: - {"inode":115} + {"inode":119} Timeout callback:: count: 2 16: timerToUpdateProgram *new* @@ -317,7 +315,7 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 114 +//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 118 Timeout callback:: count: 0 18: timerToInvalidateFailedLookupResolutions *deleted* @@ -334,7 +332,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bdc218796ca21..ee5e31e99ca8c 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.es2024.full.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,13 +53,11 @@ 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 +//// [/user/username/projects/myproject/foo.js] Inode:: 118 export {}; -//// [/user/username/projects/myproject/main.js] Inode:: 115 +//// [/user/username/projects/myproject/main.js] Inode:: 119 import { foo } from "./foo"; foo(); @@ -72,8 +70,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} /user/username/projects/myproject/foo.ts: *new* {"inode":6} /user/username/projects/myproject/main.ts: *new* @@ -92,17 +90,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/foo.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -111,7 +109,7 @@ exitCode:: ExitStatus.undefined Change:: Introduce error such that when callback happens file is already appeared Input:: -//// [/user/username/projects/myproject/foo.ts] Inode:: 116 +//// [/user/username/projects/myproject/foo.ts] Inode:: 120 export declare function foo2(): string; @@ -129,8 +127,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} /user/username/projects/myproject/foo.ts: {} *new* /user/username/projects/myproject/main.ts: @@ -171,8 +169,8 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/foo.js] file written with same contents Inode:: 114 -//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 115 +//// [/user/username/projects/myproject/foo.js] file written with same contents Inode:: 118 +//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 119 Program root files: [ @@ -186,7 +184,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts @@ -203,7 +201,7 @@ exitCode:: ExitStatus.undefined Change:: Replace file with rename event that fixes error Input:: -//// [/user/username/projects/myproject/foo.ts] Inode:: 117 +//// [/user/username/projects/myproject/foo.ts] Inode:: 121 export declare function foo(): string; @@ -229,10 +227,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} /user/username/projects/myproject/foo.ts: - {"inode":117} *new* + {"inode":121} *new* /user/username/projects/myproject/main.ts: {"inode":5} /user/username/projects/myproject/tsconfig.json: @@ -261,8 +259,8 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/foo.js] file written with same contents Inode:: 114 -//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 115 +//// [/user/username/projects/myproject/foo.js] file written with same contents Inode:: 118 +//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 119 Program root files: [ @@ -276,7 +274,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3c240b2268c9f..c237a16a1f7d6 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.es2024.full.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,9 +57,7 @@ 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 +//// [/user/username/projects/myproject/main.js] Inode:: 118 import { foo } from "./foo"; foo(); @@ -72,8 +70,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/foo.d.ts: *new* @@ -94,17 +92,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/foo.d.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -113,7 +111,7 @@ exitCode:: ExitStatus.undefined Change:: Replace file with rename event that introduces error Input:: -//// [/user/username/projects/myproject/foo.d.ts] Inode:: 115 +//// [/user/username/projects/myproject/foo.d.ts] Inode:: 119 export function foo2(): string; @@ -145,12 +143,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: - {"inode":115} *new* + {"inode":119} *new* /user/username/projects/myproject/main.ts: {"inode":5} /user/username/projects/myproject/tsconfig.json: @@ -191,7 +189,7 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 114 +//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 118 Timeout callback:: count: 0 5: timerToInvalidateFailedLookupResolutions *deleted* @@ -208,7 +206,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/foo.d.ts /user/username/projects/myproject/main.ts @@ -225,7 +223,7 @@ exitCode:: ExitStatus.undefined Change:: Replace file with rename event that fixes error Input:: -//// [/user/username/projects/myproject/foo.d.ts] Inode:: 116 +//// [/user/username/projects/myproject/foo.d.ts] Inode:: 120 export function foo(): string; @@ -257,12 +255,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/foo.d.ts: - {"inode":116} *new* + {"inode":120} *new* /user/username/projects/myproject/main.ts: {"inode":5} /user/username/projects/myproject/tsconfig.json: @@ -270,7 +268,7 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/foo.d.ts: - {"inode":115} + {"inode":119} Timeout callback:: count: 2 9: timerToUpdateProgram *new* @@ -293,7 +291,7 @@ CreatingProgramWith:: -//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 114 +//// [/user/username/projects/myproject/main.js] file written with same contents Inode:: 118 Timeout callback:: count: 0 10: timerToInvalidateFailedLookupResolutions *deleted* @@ -310,7 +308,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7c2e81416b400..d2479efe32234 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.es2024.full.d.ts 250 {"watchFile":4} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,8 +53,6 @@ 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] export {}; @@ -72,7 +70,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/foo.ts: *new* {} @@ -92,17 +90,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/foo.ts (used version) /user/username/projects/myproject/main.ts (used version) @@ -165,7 +163,7 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/foo.ts /user/username/projects/myproject/main.ts @@ -229,7 +227,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1a2392c946004..c7991974ff840 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,9 +34,7 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 - -//// [/a/username/projects/project/src/file1.js] Inode:: 114 +//// [/a/username/projects/project/src/file1.js] Inode:: 118 @@ -45,8 +43,8 @@ FsWatches:: {"inode":6} /a/username/projects/project/tsconfig.json: *new* {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} Timeout callback:: count: 1 1: pollPollingIntervalQueue *new* @@ -60,15 +58,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /a/username/projects/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -76,7 +74,7 @@ exitCode:: ExitStatus.undefined Change:: Rename file1 to file2 Input:: -//// [/a/username/projects/project/src/file2.ts] Inode:: 115 +//// [/a/username/projects/project/src/file2.ts] Inode:: 119 //// [/a/username/projects/project/src/file1.ts] deleted @@ -92,8 +90,8 @@ PolledWatches:: FsWatches:: /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} FsWatches *deleted*:: /a/username/projects/project/src/file1.ts: @@ -130,7 +128,7 @@ Output:: -//// [/a/username/projects/project/src/file2.js] Inode:: 116 +//// [/a/username/projects/project/src/file2.js] Inode:: 120 @@ -140,11 +138,11 @@ PolledWatches *deleted*:: FsWatches:: /a/username/projects/project/src/file2.ts: *new* - {"inode":115} + {"inode":119} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} Timeout callback:: count: 3 6: timerToUpdateProgram *new* @@ -161,7 +159,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bed05795cbd59..0f2aed83b1996 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,9 +34,7 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 - -//// [/a/username/projects/project/src/file1.js] Inode:: 114 +//// [/a/username/projects/project/src/file1.js] Inode:: 118 @@ -55,8 +53,8 @@ FsWatches:: {"inode":6} /a/username/projects/project/tsconfig.json: *new* {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} Program root files: [ "/a/username/projects/project/src/file1.ts" @@ -67,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /a/username/projects/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -83,7 +81,7 @@ exitCode:: ExitStatus.undefined Change:: Rename file1 to file2 Input:: -//// [/a/username/projects/project/src/file2.ts] Inode:: 115 +//// [/a/username/projects/project/src/file2.ts] Inode:: 119 //// [/a/username/projects/project/src/file1.ts] deleted @@ -107,8 +105,8 @@ FsWatches:: {"inode":5} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} FsWatches *deleted*:: /a/username/projects/project/src/file1.ts: @@ -130,7 +128,7 @@ Output:: -//// [/a/username/projects/project/src/file2.js] Inode:: 116 +//// [/a/username/projects/project/src/file2.js] Inode:: 120 @@ -150,11 +148,11 @@ FsWatches:: /a/username/projects/project/src: {"inode":5} /a/username/projects/project/src/file2.ts: *new* - {"inode":115} + {"inode":119} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} Program root files: [ @@ -166,7 +164,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b7ee4c79eaf5e..09fc2dba523e8 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,9 +34,7 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 - -//// [/a/username/projects/project/src/file1.js] Inode:: 114 +//// [/a/username/projects/project/src/file1.js] Inode:: 118 @@ -55,8 +53,8 @@ FsWatches:: {"inode":6} /a/username/projects/project/tsconfig.json: *new* {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} Program root files: [ "/a/username/projects/project/src/file1.ts" @@ -67,15 +65,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/src/file1.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/src/file1.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /a/username/projects/project/src/file1.ts (used version) exitCode:: ExitStatus.undefined @@ -83,7 +81,7 @@ exitCode:: ExitStatus.undefined Change:: Rename file1 to file2 Input:: -//// [/a/username/projects/project/src/file2.ts] Inode:: 115 +//// [/a/username/projects/project/src/file2.ts] Inode:: 119 //// [/a/username/projects/project/src/file1.ts] deleted @@ -107,8 +105,8 @@ PolledWatches:: FsWatches:: /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} FsWatches *deleted*:: /a/username/projects/project/src/file1.ts: @@ -130,7 +128,7 @@ Output:: -//// [/a/username/projects/project/src/file2.js] Inode:: 116 +//// [/a/username/projects/project/src/file2.js] Inode:: 120 @@ -150,11 +148,11 @@ PolledWatches *deleted*:: FsWatches:: /a/username/projects/project/src/file2.ts: *new* - {"inode":115} + {"inode":119} /a/username/projects/project/tsconfig.json: {"inode":7} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":13} Timeout callback:: count: 1 3: timerToUpdateProgram *new* @@ -169,7 +167,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 85b890a089d00..1d0124de1cc58 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 @@ -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.es2024.full.d.ts 250 {"synchronousWatchDirectory":true} Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,7 @@ 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 +//// [/home/user/projects/myproject/src/file.js] Inode:: 128 export {}; @@ -132,8 +130,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":25} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":23} /home/user/projects: *new* {"inode":3} /home/user/projects/myproject: *new* @@ -170,17 +168,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -230,8 +228,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":25} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":23} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -336,7 +334,7 @@ FileWatcher:: Close:: WatchInfo: /home/user/projects/package.json 2000 {"synchro -//// [/home/user/projects/myproject/src/file.js] file written with same contents Inode:: 124 +//// [/home/user/projects/myproject/src/file.js] file written with same contents Inode:: 128 PolledWatches:: /home/user/projects/myproject/node_modules/@types: @@ -359,8 +357,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":25} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":23} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -396,7 +394,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 65b28b0e74297..d7627f6516357 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 @@ -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.es2024.full.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.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,7 @@ 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 +//// [/home/user/projects/myproject/src/file.js] Inode:: 128 export {}; @@ -127,8 +125,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":25} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":23} /home/user/projects: *new* {"inode":3} /home/user/projects/myproject: *new* @@ -168,17 +166,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -213,8 +211,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":25} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":23} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -342,7 +340,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/user/projects/myproject/no sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: 0 undefined -//// [/home/user/projects/myproject/src/file.js] file written with same contents Inode:: 124 +//// [/home/user/projects/myproject/src/file.js] file written with same contents Inode:: 128 PolledWatches:: /home/user/projects/myproject/node_modules/@types: @@ -365,8 +363,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":25} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":23} /home/user/projects: {"inode":3} /home/user/projects/myproject: @@ -406,7 +404,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /home/user/projects/myproject/src/file.ts Semantic diagnostics in builder refreshed for:: @@ -514,7 +512,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9f869dfd61d9d..a84e4e976d6a9 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,13 +43,11 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 16 - -//// [/user/username/projects/myproject/dist/src/file2.js] Inode:: 117 +//// [/user/username/projects/myproject/dist/src/file2.js] Inode:: 121 export const x = 10; -//// [/user/username/projects/myproject/dist/src/file1.js] Inode:: 118 +//// [/user/username/projects/myproject/dist/src/file1.js] Inode:: 122 export {}; @@ -61,14 +59,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":16} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":14} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/dist: *new* - {"inode":115} + {"inode":119} /user/username/projects/myproject/dist/src: *new* - {"inode":116} + {"inode":120} /user/username/projects/myproject/src: *new* {"inode":5} /user/username/projects/myproject/src/file1.ts: *new* @@ -89,14 +87,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/myproject/src/file2.ts (used version) /user/username/projects/myproject/src/file1.ts (used version) @@ -112,7 +110,7 @@ exitCode:: ExitStatus.undefined Change:: rename the file Input:: -//// [/user/username/projects/myproject/src/renamed.ts] Inode:: 119 +//// [/user/username/projects/myproject/src/renamed.ts] Inode:: 123 export const x = 10; //// [/user/username/projects/myproject/src/file2.ts] deleted @@ -130,14 +128,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":14} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: - {"inode":115} + {"inode":119} /user/username/projects/myproject/dist/src: - {"inode":116} + {"inode":120} /user/username/projects/myproject/src: {"inode":5} /user/username/projects/myproject/src/file1.ts: @@ -177,7 +175,7 @@ Output:: -//// [/user/username/projects/myproject/dist/src/file1.js] file written with same contents Inode:: 118 +//// [/user/username/projects/myproject/dist/src/file1.js] file written with same contents Inode:: 122 PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -192,14 +190,14 @@ PolledWatches *deleted*:: {"pollingInterval":250} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":14} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: - {"inode":115} + {"inode":119} /user/username/projects/myproject/dist/src: - {"inode":116} + {"inode":120} /user/username/projects/myproject/src: {"inode":5} /user/username/projects/myproject/src/file1.ts: @@ -219,7 +217,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: @@ -262,7 +260,7 @@ Output:: -//// [/user/username/projects/myproject/dist/src/renamed.js] Inode:: 120 +//// [/user/username/projects/myproject/dist/src/renamed.js] Inode:: 124 export const x = 10; @@ -278,20 +276,20 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":16} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":14} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: - {"inode":115} + {"inode":119} /user/username/projects/myproject/dist/src: - {"inode":116} + {"inode":120} /user/username/projects/myproject/src: {"inode":5} /user/username/projects/myproject/src/file1.ts: {"inode":6} /user/username/projects/myproject/src/renamed.ts: *new* - {"inode":119} + {"inode":123} /user/username/projects/myproject/tsconfig.json: {"inode":8} @@ -316,7 +314,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 83dcf9f0b6c19..9267f0ec33b46 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,13 +44,11 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 - -//// [/user/username/projects/myproject/dist/src/file1.js] Inode:: 119 +//// [/user/username/projects/myproject/dist/src/file1.js] Inode:: 123 export {}; -//// [/user/username/projects/myproject/dist/src/file1.d.ts] Inode:: 120 +//// [/user/username/projects/myproject/dist/src/file1.d.ts] Inode:: 124 export {}; @@ -70,16 +68,16 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":16} /user/username/projects: *new* {"inode":3} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/dist: *new* - {"inode":117} + {"inode":121} /user/username/projects/myproject/dist/src: *new* - {"inode":118} + {"inode":122} /user/username/projects/myproject/node_modules: *new* {"inode":7} /user/username/projects/myproject/node_modules/file2: *new* @@ -104,14 +102,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -127,7 +125,7 @@ exitCode:: ExitStatus.undefined Change:: Add new file, should schedule and run timeout to update directory watcher Input:: -//// [/user/username/projects/myproject/src/file3.ts] Inode:: 121 +//// [/user/username/projects/myproject/src/file3.ts] Inode:: 125 export const y = 10; @@ -171,11 +169,11 @@ Output:: -//// [/user/username/projects/myproject/dist/src/file3.js] Inode:: 122 +//// [/user/username/projects/myproject/dist/src/file3.js] Inode:: 126 export const y = 10; -//// [/user/username/projects/myproject/dist/src/file3.d.ts] Inode:: 123 +//// [/user/username/projects/myproject/dist/src/file3.d.ts] Inode:: 127 export declare const y = 10; @@ -195,16 +193,16 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /user/username/projects: {"inode":3} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/dist: - {"inode":117} + {"inode":121} /user/username/projects/myproject/dist/src: - {"inode":118} + {"inode":122} /user/username/projects/myproject/node_modules: {"inode":7} /user/username/projects/myproject/node_modules/file2: @@ -216,7 +214,7 @@ FsWatches:: /user/username/projects/myproject/src/file1.ts: {"inode":6} /user/username/projects/myproject/src/file3.ts: *new* - {"inode":121} + {"inode":125} /user/username/projects/myproject/tsconfig.json: {"inode":10} @@ -236,7 +234,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4c16b33920422..353cb8d0255bf 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,7 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 18 - -//// [/user/username/projects/myproject/src/file1.js] Inode:: 117 +//// [/user/username/projects/myproject/src/file1.js] Inode:: 121 export {}; @@ -61,8 +59,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":16} /user/username/projects/myproject: *new* {"inode":4} /user/username/projects/myproject/node_modules: *new* @@ -91,14 +89,14 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -146,8 +144,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/src: @@ -192,7 +190,7 @@ Output:: -//// [/user/username/projects/myproject/src/file1.js] file written with same contents Inode:: 117 +//// [/user/username/projects/myproject/src/file1.js] file written with same contents Inode:: 121 PolledWatches:: /user/username/projects/myproject/node_modules: @@ -217,8 +215,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/src: @@ -243,7 +241,7 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: @@ -308,7 +306,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/file1.ts No cached semantic diagnostics in the builder:: @@ -339,12 +337,12 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/node_modules: *new* - {"inode":118} + {"inode":122} /user/username/projects/myproject/src: {"inode":5} /user/username/projects/myproject/src/file1.ts: @@ -372,7 +370,7 @@ exitCode:: ExitStatus.undefined Change:: npm install index file in file2 Input:: -//// [/user/username/projects/myproject/node_modules/file2/index.d.ts] Inode:: 120 +//// [/user/username/projects/myproject/node_modules/file2/index.d.ts] Inode:: 124 export const x = 10; @@ -397,14 +395,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/node_modules: - {"inode":118} + {"inode":122} /user/username/projects/myproject/node_modules/file2: *new* - {"inode":119} + {"inode":123} /user/username/projects/myproject/src: {"inode":5} /user/username/projects/myproject/src/file1.ts: @@ -460,7 +458,7 @@ Output:: -//// [/user/username/projects/myproject/src/file1.js] file written with same contents Inode:: 117 +//// [/user/username/projects/myproject/src/file1.js] file written with same contents Inode:: 121 PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -481,16 +479,16 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /user/username/projects/myproject: {"inode":4} /user/username/projects/myproject/node_modules: - {"inode":118} + {"inode":122} /user/username/projects/myproject/node_modules/file2: - {"inode":119} + {"inode":123} /user/username/projects/myproject/node_modules/file2/index.d.ts: *new* - {"inode":120} + {"inode":124} /user/username/projects/myproject/src: {"inode":5} /user/username/projects/myproject/src/file1.ts: @@ -509,7 +507,7 @@ Program options: { } Program structureReused: SafeModules Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 95d2db82fec30..7c4eb98667f75 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,8 +27,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/a/username/projects/project/typescript.js] var z = 10; @@ -51,15 +49,15 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/typescript.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/typescript.ts Shape signatures in builder refreshed for:: -/home/src/tslibs/ts/lib/lib.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /a/username/projects/project/typescript.ts (used version) exitCode:: ExitStatus.undefined @@ -703,16 +701,16 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts /a/username/projects/project/typescript.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 c0c1e43813456..92fa6dd81184a 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,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/project/commonFile1.js] let x = 1; @@ -71,17 +69,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.d.ts (used version) /user/username/projects/project/commonfile1.ts (used version) /user/username/projects/project/commonfile2.ts (used version) @@ -186,18 +184,18 @@ Program options: { } Program structureReused: Completely Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 768e1f796a914..8e3c16a2a390d 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.es2024.full.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 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,8 +78,6 @@ 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] import { foo } from "bar"; foo(); @@ -99,7 +97,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -130,19 +128,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 b7a99a49933de..62641288610c2 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.es2024.full.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 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,9 +78,7 @@ 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 +//// [/user/username/projects/myproject/src/main.js] Inode:: 125 import { foo } from "bar"; foo(); @@ -101,8 +99,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":22} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":20} /user/username/projects: *new* {"inode":3} /user/username/projects/myproject: *new* @@ -135,19 +133,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -180,7 +178,7 @@ exitCode:: ExitStatus.undefined Change:: add new folder to temp Input:: -//// [/user/username/projects/myproject/node_modules/bar/temp/fooBar/index.d.ts] Inode:: 123 +//// [/user/username/projects/myproject/node_modules/bar/temp/fooBar/index.d.ts] Inode:: 127 export function temp(): string; 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 1e0b8a0eb346a..e9578b2cc0860 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,9 +51,7 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 22 - -//// [/user/username/projects/myproject/src/main.js] Inode:: 121 +//// [/user/username/projects/myproject/src/main.js] Inode:: 125 import { foo } from "bar"; foo(); @@ -74,8 +72,8 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":22} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":20} /user/username/projects: *new* {"inode":3} /user/username/projects/myproject: *new* @@ -107,19 +105,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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) @@ -141,7 +139,7 @@ exitCode:: ExitStatus.undefined Change:: add new folder to temp Input:: -//// [/user/username/projects/myproject/node_modules/bar/temp/fooBar/index.d.ts] Inode:: 123 +//// [/user/username/projects/myproject/node_modules/bar/temp/fooBar/index.d.ts] Inode:: 127 export function temp(): string; 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 f3c8850bd80cb..a92f07e60154b 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -51,8 +51,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/src/main.js] import { foo } from "bar"; foo(); @@ -72,7 +70,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -102,19 +100,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 cc0b69b620fc2..67e255535ab34 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.es2024.full.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 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,8 +80,6 @@ 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] import { foo } from "bar"; foo(); @@ -99,7 +97,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -128,19 +126,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 c753104242468..edbd260f06db3 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -51,8 +51,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/src/main.js] import { foo } from "bar"; foo(); @@ -70,7 +68,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -98,19 +96,19 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 5cb6f1e6d8e10..f5d021830e500 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-fallbackPolling-option.js @@ -36,25 +36,23 @@ 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.es2024.full.d.ts:: Changing to watchFile +sysLog:: /home/src/tslibs/TS/Lib/lib.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 +//// [/user/username/projects/project/commonFile1.js] Inode:: 118 let x = 1; -//// [/user/username/projects/project/commonFile2.js] Inode:: 115 +//// [/user/username/projects/project/commonFile2.js] Inode:: 119 let y = 1; PolledWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {"pollingInterval":250} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -79,17 +77,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 beb2c8475225b..1602030a6ca6a 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchDirectory-option.js @@ -37,13 +37,11 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* Inode:: 15 - -//// [/user/username/projects/project/commonFile1.js] Inode:: 114 +//// [/user/username/projects/project/commonFile1.js] Inode:: 118 let x = 1; -//// [/user/username/projects/project/commonFile2.js] Inode:: 115 +//// [/user/username/projects/project/commonFile2.js] Inode:: 119 let y = 1; @@ -55,8 +53,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":15} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":13} /user/username/projects/project: *new* {"inode":4} /user/username/projects/project/commonFile1.ts: *new* @@ -76,17 +74,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 125fefc7946f0..81ab66a740ca2 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,8 +33,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/project/commonFile1.js] let x = 1; @@ -51,7 +49,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -74,17 +72,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 90470812fd24f..6562c95f7904b 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-watchFile-option.js @@ -37,8 +37,6 @@ Output:: -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/project/commonFile1.js] let x = 1; @@ -55,7 +53,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -78,17 +76,17 @@ Program options: { } Program structureReused: Not Program files:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts (used version) +/home/src/tslibs/ts/lib/lib.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 482cc3f5029a8..b9391abbc6fbf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' commonFile1.ts @@ -179,8 +179,6 @@ 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* @@ -189,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -211,7 +209,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -250,7 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -286,7 +284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/commonFile1.ts: {} @@ -310,7 +308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -384,7 +382,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -420,7 +418,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.ts: *new* {} @@ -444,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -488,7 +486,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -523,7 +521,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0046b239ceeb3..3483fa6ee2327 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' commonFile1.ts @@ -179,8 +179,6 @@ 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* @@ -189,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -211,7 +209,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -250,7 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -286,7 +284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/commonFile1.ts: {} @@ -310,7 +308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -392,7 +390,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -428,7 +426,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.ts: *new* {} @@ -452,7 +450,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -496,7 +494,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -531,7 +529,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ec9a3fd722fc3..32bed2fcc2813 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.es2024.full.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: /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,19 +90,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -129,7 +127,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -140,7 +138,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -172,11 +170,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", "/user/username/projects/project/node_modules/@angular/forms/forms.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -229,7 +227,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -252,7 +250,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -375,13 +373,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/@angular/forms/forms.d.ts Imported via '@angular/forms' from file 'index.ts' index.ts @@ -504,7 +502,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -529,7 +527,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8968ca10ec250..b6f1516d2b3a2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -213,8 +213,6 @@ 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 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -301,7 +299,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/index.ts: *new* {} @@ -329,7 +327,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -373,12 +371,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -400,12 +398,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/index.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -461,7 +459,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -507,7 +505,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d257b49a99193..0f1b6691801fa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -240,8 +240,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/packages/a/node_modules/b/package.json: *new* {} @@ -283,7 +281,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9d44e1597d868..c448b863fd6dc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -257,8 +257,6 @@ 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* @@ -267,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -285,7 +283,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c6e1f99f2280a..e8004a15c4886 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -241,8 +241,6 @@ 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* @@ -255,7 +253,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -289,7 +287,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/packages/b/tsconfig.json @@ -377,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library packages/b/index.ts Imported via '../b' from file 'packages/a/index.ts' Matched by default include pattern '**/*' @@ -478,13 +476,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via '../b' from file 'index.ts' index.ts @@ -631,7 +629,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: {} @@ -688,7 +686,7 @@ Projects:: /user/username/projects/project/packages/a/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 da5d3971689bb..756f7c3c619c1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -188,8 +188,6 @@ 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 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -214,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -282,7 +280,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 b6ac6b341cb96..69eb2d046cc3e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -192,8 +192,6 @@ 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* @@ -202,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -220,7 +218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -294,7 +292,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e51c14310daf4..fe83d142ea979 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -223,8 +223,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/core/package.json: *new* {} @@ -260,7 +258,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -324,7 +322,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -374,7 +372,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ac379ba0f7dcd..28baa1fd92bad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -223,8 +223,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/core/package.json: *new* {} @@ -260,7 +258,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -311,12 +309,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library forms.d.ts Root file specified for compilation @@ -348,7 +346,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/core/package.json: {} @@ -378,7 +376,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/tsconfig.json @@ -421,11 +419,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", "/user/username/projects/project/node_modules/@angular/forms/forms.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -478,7 +476,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -501,7 +499,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -572,7 +570,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/core/package.json: {} @@ -632,7 +630,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -685,7 +683,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1b388067b9fca..9ead5fa95fb28 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -192,8 +192,6 @@ 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* @@ -202,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -220,7 +218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -273,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -298,7 +296,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cbfa4b29f25e9..c6e0e9cb79f67 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -213,8 +213,6 @@ 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 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -283,7 +281,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -322,7 +320,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4a2c9b97a07fc..e55648aaf305a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' node_modules/@types/node/index.d.ts @@ -269,15 +269,13 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@types/node/package.json: *new* {} @@ -304,7 +302,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e91c5f070056a..9cb336e4ab38c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/@angular/forms/forms.d.ts Imported via '@angular/forms' from file 'index.ts' index.ts @@ -201,8 +201,6 @@ 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* @@ -211,7 +209,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -233,7 +231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 2df62a6dd5379..aec76ed90909d 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.es2024.full.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: /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,19 +87,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -126,7 +124,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/node_modules/@angular/forms/package.json: *new* {} @@ -137,7 +135,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -169,11 +167,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", "/user/username/projects/project/node_modules/@angular/forms/forms.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -231,7 +229,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -254,7 +252,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -314,7 +312,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 1564ea5af217d..64f4ff6c23740 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -192,8 +192,6 @@ 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* @@ -202,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/package.json: *new* {} @@ -220,7 +218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c576d202f001a..d0241119bddee 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.d.ts Imported via "./b" from file 'a.ts' a.ts @@ -84,8 +84,6 @@ 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* @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -112,7 +110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -197,7 +195,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project: {} @@ -219,7 +217,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -260,12 +258,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.js Root file specified for compilation @@ -283,7 +281,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project: {} @@ -308,7 +306,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -353,11 +351,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/b.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -407,7 +405,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -431,7 +429,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -489,7 +487,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 0d0d4669894d4..2e15ae67ec4ad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,8 +126,6 @@ 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* @@ -138,7 +136,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/users/projects: *new* {} @@ -162,7 +160,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -275,7 +273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/users/projects: {} @@ -305,7 +303,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -427,7 +425,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6d65e39d64659..94157b42b9150 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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,8 +148,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/users/projects: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -324,7 +322,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/users/projects: {} @@ -360,7 +358,7 @@ Projects:: noDtsResolutionProject: /dev/null/auxiliaryProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 284e97d84a946..dda56e9013a5d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo/boo/app.ts Part of 'files' list in tsconfig.json foo/boo/moo/app.ts @@ -192,8 +192,6 @@ 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* @@ -206,7 +204,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -228,7 +226,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/proj/tsconfig.json @@ -281,7 +279,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -334,14 +332,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -401,7 +399,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -426,7 +424,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1f0f9b2278e86..9119d2e421415 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo/boo/app.ts Part of 'files' list in tsconfig.json foo/boo/moo/app.ts @@ -192,8 +192,6 @@ 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* @@ -206,7 +204,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -228,7 +226,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/proj/tsconfig.json @@ -281,7 +279,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -334,14 +332,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -401,7 +399,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -426,7 +424,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 09c1f087196be..dbbf70d3b1be8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -231,8 +231,6 @@ 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* @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: *new* {} @@ -286,7 +284,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json @@ -767,7 +765,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -1295,7 +1293,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -2125,13 +2123,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -2203,7 +2201,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json: *new* {} @@ -2229,7 +2227,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7343ab3d57a6c..3d9096f2593aa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -231,8 +231,6 @@ 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* @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: *new* {} @@ -286,7 +284,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json @@ -770,7 +768,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -814,7 +812,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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] ----------------------------------------------- @@ -1386,7 +1384,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/package.json: {} @@ -1432,7 +1430,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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] ----------------------------------------------- @@ -2300,13 +2298,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -2389,7 +2387,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json: *new* {} @@ -2415,7 +2413,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 18bbd99059099..62dfcac9ec054 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library client/folder1/module1.ts Matched by include pattern 'client/**/*' in 'tsconfig.json' Imported via "folder1/module1" from file 'client/linktofolder2/module2.ts' @@ -206,8 +206,6 @@ 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 +214,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/client/folder1/module1.ts: *new* {} @@ -236,7 +234,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -277,14 +275,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library client/folder1/module1.ts Matched by include pattern 'client/**/*' in 'tsconfig.json' Imported via "folder1/module1" from file 'client/linktofolder2/module2.ts' @@ -333,7 +331,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/client/folder1/module1.ts: {} @@ -356,7 +354,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2ba23dd963350..25713586c476b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -163,8 +163,6 @@ 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* @@ -177,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/folder: *new* {} @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/folder/myproject/tsconfig.json @@ -256,7 +254,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/folder: {} @@ -300,13 +298,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/@types/debug/index.d.ts Imported via "debug" from file 'app.ts' Entry point for implicit type library 'debug' @@ -335,7 +333,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/folder: {} @@ -365,7 +363,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f3c97a269136e..a7903784e4f59 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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* @@ -171,7 +169,7 @@ PolledWatches:: FsWatches:: /home/src/projects/myproject/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -189,7 +187,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 189ca5ccceefa..caee305aec6f7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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* @@ -171,7 +169,7 @@ PolledWatches:: FsWatches:: /home/src/projects/myproject/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -189,7 +187,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d61318143f96c..8022b8fe089ae 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -74,8 +74,6 @@ 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* @@ -88,7 +86,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -102,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f6de10e2e57d6..48846759a4fa6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/file.ts Matched by default include pattern '**/*' @@ -171,8 +171,6 @@ 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* @@ -189,7 +187,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -211,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 5a86ad039ee92..5760c85a4f290 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/file.ts Matched by default include pattern '**/*' @@ -171,8 +171,6 @@ 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* @@ -189,7 +187,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -211,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 10b8a0e398947..f6787341c3048 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app1/tsconfig.json: *new* {} @@ -268,7 +266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app1/tsconfig.json @@ -325,13 +323,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -490,7 +488,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -510,7 +508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/app1/tsconfig.json @@ -578,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -590,7 +588,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -648,7 +646,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -706,7 +704,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -740,7 +738,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -749,7 +747,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 f350c06722eeb..a35382b8204eb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app1/tsconfig.json: *new* {} @@ -268,7 +266,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/app1/tsconfig.json @@ -325,13 +323,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -490,7 +488,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -510,7 +508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/app1/tsconfig.json @@ -578,7 +576,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app1/tsconfig.json: {} @@ -590,7 +588,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -648,7 +646,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -706,7 +704,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/app1/tsconfig.json @@ -741,7 +739,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 667f8ae77cf47..f5c980be982e8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -188,8 +188,6 @@ 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* @@ -200,7 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/project/b.ts: *new* {} @@ -218,7 +216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 8b6095d860e5c..71a44fc63ce3f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -168,8 +168,6 @@ 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 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/project/b.ts: *new* {} @@ -198,7 +196,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 07e1beecba91e..b657c83b2db76 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' Imported via "./file1" from file 'file2.ts' @@ -172,8 +172,6 @@ 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 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file2.ts: *new* {} @@ -202,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -256,7 +254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -270,7 +268,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -328,13 +326,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../b/file1.ts Imported via "../b/file1" from file 'file2.ts' file2.ts @@ -441,7 +439,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -465,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c36c9586b38ba..787bc3c5a3215 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -185,8 +185,6 @@ 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* @@ -197,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -219,7 +217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -281,7 +279,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/file1Consumer1Consumer1.ts: {} @@ -299,7 +297,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -384,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -432,7 +430,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -469,7 +467,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 7232938cf2943..dc9b758f0ed53 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -173,8 +173,6 @@ 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 +183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file2.ts: *new* {} @@ -203,7 +201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -257,7 +255,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -271,7 +269,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 90e575e91d661..d58a7b0e34ce0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -175,8 +175,6 @@ 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* @@ -187,7 +185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -207,7 +205,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d055b327276c0..981c14b380f3e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -183,8 +183,6 @@ 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 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -217,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -275,7 +273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/file1Consumer2.ts: {} @@ -293,7 +291,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d1f3bbcfd9cb8..660bcb7ca9ca8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -165,8 +165,6 @@ 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* @@ -177,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -191,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -255,7 +253,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -331,7 +329,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -360,7 +358,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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();" @@ -425,7 +423,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -454,7 +452,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 5d80ad2509f88..63d4c2d8dae8d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,8 +193,6 @@ 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* @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -288,7 +286,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -328,7 +326,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -359,7 +357,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 922264e52352f..06927d688c601 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -174,8 +174,6 @@ 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* @@ -186,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -204,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -251,7 +249,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -280,7 +278,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 2a3f2a5640d1f..e259bd84098c3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,8 +193,6 @@ 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* @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -295,7 +293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/file1Consumer2.ts: {} @@ -315,7 +313,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -404,7 +402,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -445,7 +443,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -514,7 +512,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -555,7 +553,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 66ef0e1ce33fb..0bb9941fd64af 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -183,8 +183,6 @@ 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 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 18a2d75fbccf1..93811572d5f51 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -162,8 +162,6 @@ 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 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/tsconfig.json: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 2d19afe06497d..2a913258ced7e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -206,8 +206,6 @@ 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* @@ -218,7 +216,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -236,7 +234,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -283,7 +281,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -312,7 +310,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 bec53211ccaea..f54958a6bec79 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Matched by default include pattern '**/*' Referenced via './moduleFile1.ts' from file 'referenceFile1.ts' @@ -170,8 +170,6 @@ 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 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/moduleFile1.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -236,7 +234,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -265,12 +263,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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 9edc86d3361e9..48812f9390ed5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,8 +193,6 @@ 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* @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -304,7 +302,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -355,7 +353,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -397,7 +395,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -432,7 +430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f2573a7e6d87d..6a9dc0802b30f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,8 +193,6 @@ 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* @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -317,7 +315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -358,7 +356,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -399,15 +397,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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 90bdd40e38e66..b70252fc09d42 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,8 +193,6 @@ 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* @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -311,7 +309,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -320,8 +318,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/file1Consumer1.ts: {} @@ -406,7 +404,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -468,7 +466,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -513,7 +511,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 1ebd0f49f5f10..f39b1d1d782c7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -193,8 +193,6 @@ 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* @@ -205,7 +203,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1Consumer1.ts: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -295,7 +293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/file1Consumer2.ts: {} @@ -315,7 +313,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -404,7 +402,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -456,7 +454,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -497,7 +495,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -565,7 +563,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -617,7 +615,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -658,7 +656,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 47fe8140cfdee..39188ecc67652 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -172,8 +172,6 @@ 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 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -253,7 +251,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -267,7 +265,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a565548ad033e..c9b33ef154575 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -174,8 +174,6 @@ 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 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -202,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -268,7 +266,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dbb1236e576c3..d28ca42dd2ab1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -171,8 +171,6 @@ 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* @@ -181,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -199,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -251,7 +249,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -265,7 +263,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 812eb3b8870a7..fc486d72205db 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -166,8 +166,6 @@ 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 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -194,7 +192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -246,7 +244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -260,7 +258,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 efd0d7809a41f..546ae41d72649 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' runtime/a.d.ts @@ -168,8 +168,6 @@ 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 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b.ts: *new* {} @@ -198,7 +196,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/tsconfig.json: {} @@ -266,7 +264,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 779626b842183..5ba623fd42754 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -203,8 +203,6 @@ 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 +211,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -233,7 +231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -289,7 +287,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -305,7 +303,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -518,7 +516,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -550,7 +548,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -650,7 +648,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -682,7 +680,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" 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 7af01908d8143..900d8d9ee81f0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -193,8 +193,6 @@ 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* @@ -203,7 +201,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -225,7 +223,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -285,7 +283,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -303,7 +301,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -553,7 +551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -589,7 +587,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -690,7 +688,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -726,7 +724,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" 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 6ccfd5c51aee3..a848aa4a12a5e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -193,8 +193,6 @@ 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* @@ -203,7 +201,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -225,7 +223,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -285,7 +283,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -303,7 +301,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -523,7 +521,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -559,7 +557,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -659,7 +657,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -695,7 +693,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -709,7 +707,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/myproject/file1.ts", "/user/username/projects/myproject/file3.ts", "/user/username/projects/myproject/module.ts" diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js index 1093a12e77423..d323b8d7d1c98 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -203,8 +203,6 @@ 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 +211,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -233,7 +231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -289,7 +287,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file3.ts: {} @@ -305,7 +303,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -495,7 +493,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -527,7 +525,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -626,7 +624,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -658,7 +656,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -671,7 +669,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/myproject/file1.ts", "/user/username/projects/myproject/file3.ts" ], diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js index 18984f0486088..4f0547380fe57 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' Imported via "./f1" from file 'f2.ts' @@ -166,8 +166,6 @@ 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 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/f2.ts: *new* {} @@ -196,7 +194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/workspace/projects/b/tsconfig.json: {} @@ -264,7 +262,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspace/projects/b/tsconfig.json 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 d56b6c432dd65..c64bd15a58f45 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -180,8 +180,6 @@ 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 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -208,7 +206,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -330,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -380,7 +378,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file2.ts: {} @@ -401,7 +399,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5ea00304730f8..46ca235a44581 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -180,8 +180,6 @@ 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 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -208,7 +206,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -333,14 +331,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -392,7 +390,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file2.ts: {} @@ -413,7 +411,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2bc102051257f..aa24bc7dac195 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -180,8 +180,6 @@ 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 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/file2.ts: *new* {} @@ -208,7 +206,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -328,14 +326,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -378,7 +376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/file2.ts: {} @@ -399,7 +397,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f5b31e297dbb6..70e6c8a011cbb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -73,8 +73,6 @@ 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* @@ -87,7 +85,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -97,7 +95,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -167,7 +165,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.es2024.full.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] 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 @@ -175,12 +173,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -204,8 +202,6 @@ 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* @@ -218,7 +214,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -228,7 +224,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 b2ecdbcce8a84..450bb1ebcf4fb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation file2.js @@ -130,8 +130,6 @@ 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* @@ -142,7 +140,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspace/projects/b/file1.ts: *new* {} @@ -155,7 +153,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 6aa976cc1d8b2..b89b56a935f1b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library Foo.ts Root file specified for compilation @@ -117,8 +117,6 @@ 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* @@ -131,7 +129,7 @@ PolledWatches:: FsWatches:: /home/src/root/TypeScriptProject3/TypeScriptProject3/Foo.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -144,7 +142,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/root/TypeScriptProject3/TypeScriptProject3/TypeScriptProject3.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e213999d89fca..f4d428e88218e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via 'shared' from file 'src/index.ts' src/index.ts @@ -325,8 +325,6 @@ 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* @@ -335,7 +333,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -869,7 +867,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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';" @@ -1365,7 +1363,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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';" @@ -2338,7 +2336,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/app/package.json: {} @@ -2373,7 +2371,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9d7a955a6a6d1..4738a468e50a9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via 'shared' from file 'src/index.ts' src/index.ts @@ -345,8 +345,6 @@ 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* @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -388,7 +386,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -923,7 +921,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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';" @@ -1446,7 +1444,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/app/package.json: {} @@ -1483,7 +1481,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -1544,7 +1542,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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';" @@ -2568,7 +2566,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 03929473f1df6..e6778cc524225 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern './src/**/*' in 'tsconfig.json' @@ -321,8 +321,6 @@ 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* @@ -331,7 +329,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -357,7 +355,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -853,7 +851,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -1342,7 +1340,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -2374,7 +2372,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/app/package.json: {} @@ -2409,7 +2407,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 01d430f5fa0af..917a8cca345ea 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern './src/**/*' in 'tsconfig.json' @@ -345,8 +345,6 @@ 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* @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -388,7 +386,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -939,7 +937,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -1480,7 +1478,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/app/package.json: {} @@ -1517,7 +1515,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -1578,7 +1576,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -2611,7 +2609,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e844fbe894338..94ac7b7a54ad2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern './src/**/*' in 'tsconfig.json' @@ -272,8 +272,6 @@ 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* @@ -282,7 +280,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/app/package.json: *new* {} @@ -309,7 +307,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/tsconfig.json @@ -804,7 +802,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 817688a6a2777..1418969038117 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + c:/home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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,8 +199,6 @@ 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* @@ -221,7 +219,7 @@ e:/solution/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/typescript/node_modules/@types/react-router-dom/package.json: *new* {} @@ -252,7 +250,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -291,11 +289,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "c:/home/src/tslibs/TS/Lib/lib.d.ts", "e:/solution/myproject/src/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -345,7 +343,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -369,7 +367,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -424,7 +422,7 @@ e:/solution/node_modules/@types: {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +c:/home/src/tslibs/TS/Lib/lib.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 ddb81f91ec784..76ad88c9b65c9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -187,8 +187,6 @@ 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* @@ -201,7 +199,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -223,7 +221,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -269,7 +267,7 @@ PolledWatches:: FsWatches:: /home/src/project/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -290,7 +288,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d97a5738b9b7b..c0ae7a6ab419d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -2202,8 +2202,6 @@ 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* @@ -2614,7 +2612,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -3432,7 +3430,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4284,7 +4282,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4306,7 +4304,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 1889478e498df..120aaf7768ce5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -3052,8 +3052,6 @@ 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* @@ -3164,7 +3162,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -3382,7 +3380,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -3634,7 +3632,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -3656,7 +3654,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 1849655fa6701..abe199874c354 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -1402,8 +1402,6 @@ 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* @@ -1714,7 +1712,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -2332,7 +2330,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2984,7 +2982,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -3006,7 +3004,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -6915,7 +6913,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -6924,7 +6922,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -7732,7 +7730,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -7754,7 +7752,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 d1cba0cf089f0..d75b8001b8434 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -1013,8 +1013,6 @@ 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* @@ -1227,7 +1225,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -1649,7 +1647,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2105,7 +2103,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2127,7 +2125,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -5180,7 +5178,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -5203,7 +5201,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 9081e468b4baa..ec9c5e91447e4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -1383,8 +1383,6 @@ 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* @@ -1599,7 +1597,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -2226,7 +2224,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2885,7 +2883,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -2907,7 +2905,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -6896,7 +6894,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -6919,7 +6917,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 f8f7376561a06..f8cd07372e27b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' lib/a_0.ts @@ -2202,8 +2202,6 @@ 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* @@ -2714,7 +2712,7 @@ FsWatches:: {} /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -3732,7 +3730,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4784,7 +4782,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -4806,7 +4804,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -10515,7 +10513,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -10538,7 +10536,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -16941,7 +16939,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/project/project/tsconfig.json @@ -16964,7 +16962,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 ed7b80354411d..13b9c36898107 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -78,8 +78,6 @@ 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* @@ -94,7 +92,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -108,7 +106,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -159,7 +157,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/project/project/a/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -176,7 +174,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -224,12 +222,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a/file1.ts Matched by default include pattern '**/*' @@ -298,12 +296,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/project/project/a/file1.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -347,7 +345,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/project/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -377,7 +375,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 *changed* /home/src/project/project/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a012d0fb47cab..40a301240ec24 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -163,8 +163,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +195,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json @@ -246,12 +244,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Root file specified for compilation @@ -301,7 +299,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -325,7 +323,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /home/a/b/projects/project/src/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 2037f2b08f688..3534f50761a19 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -163,8 +163,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -197,7 +195,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/a/b/projects/project/src/tsconfig.json @@ -248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -303,7 +301,7 @@ PolledWatches:: FsWatches:: /home/a/b/projects/project/src/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -327,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.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 97900b35b53b0..8e0d19f866091 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Root file specified for compilation @@ -77,8 +77,6 @@ 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* @@ -97,7 +95,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -111,7 +109,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -151,7 +149,7 @@ PolledWatches *deleted*:: FsWatches:: /a/b/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Timeout callback:: count: 1 @@ -199,12 +197,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' @@ -323,7 +321,7 @@ PolledWatches *deleted*:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -347,7 +345,7 @@ ScriptInfos:: containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json *default* *new* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json *new* @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Root file specified for compilation @@ -451,7 +449,7 @@ PolledWatches:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -475,7 +473,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /a/b/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 11a12e9c62617..503e8f2b37a5b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -168,7 +166,7 @@ PolledWatches:: FsWatches:: /a/b/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -186,7 +184,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/b/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/b/projects/project/tsconfig.json @@ -235,12 +233,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Root file specified for compilation @@ -288,7 +286,7 @@ PolledWatches:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -312,7 +310,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/inferredProject1* *default* *new* /a/b/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /a/b/projects/project/tsconfig.json @@ -459,7 +457,7 @@ PolledWatches *deleted*:: FsWatches:: /a/b/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -483,7 +481,7 @@ ScriptInfos:: containingProjects: 1 *changed* /a/b/projects/project/tsconfig.json *default* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c0461af556a56..85fb4472f1110 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.es2024.full.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] 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,19 +51,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -88,7 +86,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -97,7 +95,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,11 +127,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", "/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -183,7 +181,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -207,7 +205,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -267,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 1059548832368..0954fef855852 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.es2024.full.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] 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,19 +52,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -98,7 +96,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -130,11 +128,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", "/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -184,7 +182,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -208,7 +206,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -268,7 +266,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 ea2a959d1735c..dea3175aeacb6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Part of 'files' list in tsconfig.json file3.ts @@ -176,8 +176,6 @@ 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* @@ -190,7 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -204,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -263,12 +261,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Root file specified for compilation @@ -326,7 +324,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/file3.ts: {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -427,7 +425,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -437,7 +435,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -518,7 +516,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: *new* {} @@ -526,7 +524,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -605,7 +603,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -626,7 +624,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -694,12 +692,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file4.ts Root file specified for compilation @@ -749,7 +747,7 @@ Projects:: dirty: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -806,14 +804,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' file3.ts @@ -931,7 +929,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/file3.ts: {} @@ -960,7 +958,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 63c6401003069..4f493162a2de5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Part of 'files' list in tsconfig.json file3.ts @@ -176,8 +176,6 @@ 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* @@ -190,7 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -204,7 +202,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -263,12 +261,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Root file specified for compilation @@ -326,7 +324,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/file3.ts: {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -427,7 +425,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -437,7 +435,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -479,12 +477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file4.ts Root file specified for compilation @@ -538,7 +536,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -624,14 +622,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' file3.ts @@ -759,7 +757,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -784,7 +782,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -870,7 +868,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: *new* {} @@ -882,7 +880,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -965,7 +963,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: {} @@ -979,7 +977,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1066,7 +1064,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: {} @@ -1097,7 +1095,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1206,7 +1204,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/src/file1.ts: {} @@ -1240,7 +1238,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1315,7 +1313,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/file3.ts: *new* {} @@ -1340,7 +1338,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/b/tsconfig.json @@ -1389,12 +1387,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file5.ts Root file specified for compilation @@ -1402,14 +1400,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' file3.ts @@ -1479,7 +1477,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1511,7 +1509,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4f33f1c7c234e..6d7a73aa8053d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -75,8 +75,6 @@ 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* @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -99,7 +97,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,12 +127,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Root file specified for compilation @@ -176,7 +174,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -223,7 +221,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -274,12 +272,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -403,7 +401,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -471,12 +469,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -530,7 +528,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject2* @@ -700,7 +698,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -740,12 +738,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -808,7 +806,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -832,7 +830,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject2* @@ -905,7 +903,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/commonFile1.ts: *new* {} @@ -927,7 +925,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject2* @@ -1002,7 +1000,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -1028,7 +1026,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject2* @@ -1099,7 +1097,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -1127,7 +1125,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject2* @@ -1165,12 +1163,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1178,12 +1176,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/commonFile1.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1196,12 +1194,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Root file specified for compilation @@ -1247,7 +1245,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1279,7 +1277,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* @@ -1338,7 +1336,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1349,7 +1347,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject3* @@ -1399,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1432,12 +1430,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1477,7 +1475,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -1495,7 +1493,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig.json *new* @@ -1543,12 +1541,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Root file specified for compilation @@ -1588,7 +1586,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -1605,7 +1603,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -1774,12 +1772,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1831,7 +1829,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -1850,7 +1848,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -1923,7 +1921,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/commonFile1.ts: *new* {} @@ -1945,7 +1943,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -2020,7 +2018,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -2046,7 +2044,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -2117,7 +2115,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/commonFile1.ts: {} @@ -2145,7 +2143,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -2183,12 +2181,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2196,12 +2194,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/commonFile1.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -2214,12 +2212,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Root file specified for compilation @@ -2265,7 +2263,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -2297,7 +2295,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e2eae16709626..c603f7c35035a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -274,8 +274,6 @@ 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* @@ -286,7 +284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -305,7 +303,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -559,12 +557,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -614,7 +612,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -637,7 +635,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -708,7 +706,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -808,7 +806,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -837,7 +835,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -876,12 +874,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -889,12 +887,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -909,12 +907,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -963,7 +961,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -996,7 +994,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1056,7 +1054,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1067,7 +1065,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1120,12 +1118,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1179,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1212,12 +1210,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1263,7 +1261,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1288,7 +1286,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1363,7 +1361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -1388,7 +1386,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -1427,12 +1425,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1440,12 +1438,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1460,12 +1458,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1514,7 +1512,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1547,7 +1545,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* @@ -1648,7 +1646,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1660,7 +1658,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject2* @@ -1713,12 +1711,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1772,12 +1770,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1805,12 +1803,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1856,7 +1854,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1882,7 +1880,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 97572a2719caf..6cb1e3627795b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -169,8 +169,6 @@ 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* @@ -181,7 +179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -193,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json @@ -285,12 +283,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -391,7 +389,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -410,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -579,12 +577,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -636,7 +634,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -657,7 +655,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -730,7 +728,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -740,7 +738,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -812,7 +810,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -839,7 +837,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -912,7 +910,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -980,12 +978,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -993,12 +991,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1013,12 +1011,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1067,7 +1065,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1100,7 +1098,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1160,7 +1158,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1171,7 +1169,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1223,12 +1221,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1256,12 +1254,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1303,7 +1301,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -1321,7 +1319,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1372,12 +1370,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1437,7 +1435,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1455,7 +1453,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1524,12 +1522,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -1580,7 +1578,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1603,7 +1601,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1776,7 +1774,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1799,7 +1797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1839,12 +1837,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1909,7 +1907,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -1935,7 +1933,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2008,7 +2006,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2018,7 +2016,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2090,7 +2088,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2117,7 +2115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2190,7 +2188,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2219,7 +2217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2258,12 +2256,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2271,12 +2269,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -2291,12 +2289,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -2345,7 +2343,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -2378,7 +2376,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* @@ -2438,7 +2436,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -2449,7 +2447,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject3* @@ -2501,12 +2499,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -2534,12 +2532,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2581,7 +2579,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -2599,7 +2597,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -2666,12 +2664,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -2731,7 +2729,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -2750,7 +2748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2806,7 +2804,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2816,7 +2814,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2871,7 +2869,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2896,7 +2894,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2935,12 +2933,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2948,12 +2946,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -2968,12 +2966,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3022,7 +3020,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -3055,7 +3053,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject4* *new* @@ -3122,7 +3120,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -3134,7 +3132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject4* @@ -3186,12 +3184,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -3219,12 +3217,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -3266,7 +3264,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -3285,7 +3283,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -3353,12 +3351,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3418,7 +3416,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -3437,7 +3435,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3493,7 +3491,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -3503,7 +3501,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -3542,12 +3540,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -3597,7 +3595,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3622,7 +3620,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3693,7 +3691,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3722,7 +3720,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3795,7 +3793,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3826,7 +3824,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3865,12 +3863,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -3878,12 +3876,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -3898,12 +3896,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3952,7 +3950,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -3987,7 +3985,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject5* @@ -4054,7 +4052,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -4065,7 +4063,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject5* @@ -4117,12 +4115,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -4150,12 +4148,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -4197,7 +4195,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -4215,7 +4213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -4283,12 +4281,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -4348,7 +4346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4367,7 +4365,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4423,7 +4421,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -4445,7 +4443,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4484,12 +4482,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -4497,12 +4495,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -4554,7 +4552,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4583,7 +4581,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4650,7 +4648,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -4670,7 +4668,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4734,7 +4732,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -4756,7 +4754,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4790,12 +4788,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -4803,12 +4801,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -4858,7 +4856,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -4883,7 +4881,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject6* @@ -4946,7 +4944,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -4957,7 +4955,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject6* @@ -5009,12 +5007,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -5042,12 +5040,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -5089,7 +5087,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -5107,7 +5105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -5158,12 +5156,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -5223,7 +5221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5241,7 +5239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5297,7 +5295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -5318,7 +5316,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5357,12 +5355,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -5370,12 +5368,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -5427,7 +5425,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5455,7 +5453,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5525,7 +5523,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5543,7 +5541,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5622,12 +5620,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -5655,12 +5653,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -5708,7 +5706,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5734,7 +5732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5776,12 +5774,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -5817,7 +5815,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5840,7 +5838,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6040,7 +6038,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -6063,7 +6061,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6134,12 +6132,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -6190,7 +6188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -6213,7 +6211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 fc44ba3d5e022..d0c61fb5e73b5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -290,8 +290,6 @@ 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* @@ -302,7 +300,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -321,7 +319,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -575,12 +573,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -630,7 +628,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -653,7 +651,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -724,7 +722,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -751,7 +749,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -824,7 +822,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -853,7 +851,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -892,12 +890,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -905,12 +903,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -925,12 +923,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -981,7 +979,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1014,7 +1012,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1074,7 +1072,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1085,7 +1083,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1138,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1204,12 +1202,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -1237,12 +1235,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1288,7 +1286,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1313,7 +1311,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1388,7 +1386,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -1413,7 +1411,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -1452,12 +1450,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1465,12 +1463,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1485,12 +1483,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -1541,7 +1539,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1574,7 +1572,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* @@ -1675,7 +1673,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1687,7 +1685,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject2* @@ -1740,12 +1738,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1806,12 +1804,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -1839,12 +1837,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1890,7 +1888,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -1916,7 +1914,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3310856849282..3070aa2355ff8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -172,8 +172,6 @@ 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* @@ -184,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -196,7 +194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json @@ -295,12 +293,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -407,7 +405,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -426,7 +424,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -595,12 +593,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -673,7 +671,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -746,7 +744,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -756,7 +754,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -828,7 +826,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -855,7 +853,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -928,7 +926,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -957,7 +955,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -996,12 +994,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1009,12 +1007,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1029,12 +1027,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -1085,7 +1083,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1118,7 +1116,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1178,7 +1176,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -1189,7 +1187,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1241,12 +1239,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -1274,12 +1272,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1321,7 +1319,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -1339,7 +1337,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -1397,12 +1395,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -1462,7 +1460,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -1480,7 +1478,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1549,12 +1547,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -1605,7 +1603,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -1628,7 +1626,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1801,7 +1799,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -1824,7 +1822,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -1864,12 +1862,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -1934,7 +1932,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -1960,7 +1958,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2033,7 +2031,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2043,7 +2041,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2115,7 +2113,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2142,7 +2140,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2215,7 +2213,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2244,7 +2242,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -2283,12 +2281,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2296,12 +2294,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -2316,12 +2314,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -2372,7 +2370,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -2405,7 +2403,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* @@ -2465,7 +2463,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -2476,7 +2474,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject3* @@ -2528,12 +2526,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -2561,12 +2559,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2608,7 +2606,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -2626,7 +2624,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -2700,12 +2698,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -2765,7 +2763,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -2784,7 +2782,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -2840,7 +2838,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -2850,7 +2848,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2905,7 +2903,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -2930,7 +2928,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -2969,12 +2967,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -2982,12 +2980,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -3002,12 +3000,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -3058,7 +3056,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -3091,7 +3089,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject4* *new* @@ -3158,7 +3156,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -3170,7 +3168,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject4* @@ -3222,12 +3220,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -3255,12 +3253,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -3302,7 +3300,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -3321,7 +3319,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -3396,12 +3394,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -3461,7 +3459,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -3480,7 +3478,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3536,7 +3534,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -3546,7 +3544,7 @@ FsWatches:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -3585,12 +3583,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -3640,7 +3638,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3665,7 +3663,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -3736,7 +3734,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3765,7 +3763,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3838,7 +3836,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -3869,7 +3867,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/folder/tsconfig.json @@ -3908,12 +3906,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -3921,12 +3919,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -3941,12 +3939,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -3997,7 +3995,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -4032,7 +4030,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject5* @@ -4099,7 +4097,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -4110,7 +4108,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject5* @@ -4162,12 +4160,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -4195,12 +4193,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -4242,7 +4240,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -4260,7 +4258,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -4335,12 +4333,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -4400,7 +4398,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -4419,7 +4417,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4475,7 +4473,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -4497,7 +4495,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4536,12 +4534,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -4549,12 +4547,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -4608,7 +4606,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -4637,7 +4635,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -4704,7 +4702,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} @@ -4724,7 +4722,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4788,7 +4786,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile1.ts: {} @@ -4810,7 +4808,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -4844,12 +4842,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -4857,12 +4855,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile1.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -4912,7 +4910,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -4937,7 +4935,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject6* @@ -5000,7 +4998,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -5011,7 +5009,7 @@ Projects:: isOrphan: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject6* @@ -5063,12 +5061,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -5096,12 +5094,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -5143,7 +5141,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: *new* {} @@ -5161,7 +5159,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* @@ -5219,12 +5217,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -5284,7 +5282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -5302,7 +5300,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5358,7 +5356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} @@ -5379,7 +5377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5418,12 +5416,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -5431,12 +5429,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -5490,7 +5488,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5518,7 +5516,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5588,7 +5586,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -5606,7 +5604,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json @@ -5692,12 +5690,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Part of 'files' list in tsconfig.json @@ -5725,12 +5723,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/random/random.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -5778,7 +5776,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: *new* {} @@ -5804,7 +5802,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -5846,12 +5844,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -5887,7 +5885,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -5910,7 +5908,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6110,7 +6108,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -6133,7 +6131,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json @@ -6204,12 +6202,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -6260,7 +6258,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/folder/jsconfig.json: {} @@ -6283,7 +6281,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 94bd7e903d180..753e9b46c1401 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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 +163,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +179,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -218,13 +216,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -288,7 +286,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 769c5b1bb6070..e6739872bd467 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Part of 'files' list in tsconfig.json @@ -161,8 +161,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -246,13 +244,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Part of 'files' list in tsconfig.json f2.ts @@ -317,7 +315,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/f2.ts: *new* {} @@ -331,7 +329,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 33e96ad406393..8935de31cd254 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -157,8 +157,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -220,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' f2.ts @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/f2.ts: *new* {} @@ -290,7 +288,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cd2cd46c81ca2..50d317bf83138 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Part of 'files' list in tsconfig.json f2.ts @@ -167,8 +167,6 @@ 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 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/f2.ts: *new* {} @@ -191,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -260,7 +258,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 13900ed09dea3..e92209c33d5c7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../file2.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -189,8 +189,6 @@ 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* @@ -201,7 +199,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/solution/projects/file2.ts: *new* {} @@ -217,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/solution/projects/project/tsconfig.json @@ -270,13 +268,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -323,7 +321,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/solution/projects/file2.ts: {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/solution/projects/project/tsconfig.json @@ -403,7 +401,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/solution/projects/project/tsconfig.json: {} @@ -415,7 +413,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 32d84cbd2218f..83507f1cc9bcf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by include pattern '*.ts' in 'tsconfig.json' f2.ts @@ -175,8 +175,6 @@ 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* @@ -195,7 +193,7 @@ FsWatches:: {} /home/src/project/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -213,7 +211,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 675e9830d7d46..46c84271f91e8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library c/f1.ts Matched by default include pattern '**/*' d/f2.ts @@ -175,8 +175,6 @@ 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 +191,7 @@ FsWatches:: {} /home/src/project/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -215,7 +213,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/project/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 625b3d654ca35..e678ae6a94220 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -265,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fooBar.ts Root file specified for compilation @@ -322,7 +320,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4deb7e396d2f9..0585220263a7b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,8 +169,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -249,14 +247,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -301,7 +299,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c10832c11fc8a..cf6236f5af8d3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -265,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fooBar.ts Root file specified for compilation @@ -322,7 +320,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 91efa73f1bd80..a4e0803aef559 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,8 +169,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -249,14 +247,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -301,7 +299,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b95583197ec52..05b5545592f3e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -259,12 +257,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fooBar.ts Root file specified for compilation @@ -316,7 +314,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -338,7 +336,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 547d88068e3cb..36e547fd9795c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,8 +169,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -260,12 +258,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fooBar.ts Root file specified for compilation @@ -317,7 +315,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -343,7 +341,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -422,14 +420,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -473,7 +471,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -501,7 +499,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6cbd8aa8bdf29..fe8f7b32cf789 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -259,12 +257,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fooBar.ts Root file specified for compilation @@ -316,7 +314,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -338,7 +336,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9d9708f812f50..f2a662ed95965 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -169,8 +169,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/bar.ts: *new* {} @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -260,12 +258,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fooBar.ts Root file specified for compilation @@ -317,7 +315,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -343,7 +341,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -481,14 +479,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -532,7 +530,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/bar.ts: {} @@ -560,7 +558,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 223d4bde5d716..388747ba804ac 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/module2/index.d.ts Imported via "module2" from file '../node_modules/module1/index.d.ts' ../node_modules/module1/index.d.ts @@ -197,8 +197,6 @@ 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* @@ -225,7 +223,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -249,7 +247,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 91395724a944e..035ccb707946a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -195,11 +195,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/largefile.js: *new* {} @@ -214,7 +212,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -259,7 +257,7 @@ Info seq [hh:mm:ss:mss] response: After request FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/app.js: *new* {} @@ -278,7 +276,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -322,12 +320,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library aa.js Root file specified for compilation @@ -345,7 +343,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/app.js: {} @@ -367,7 +365,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/tsconfig.json @@ -412,11 +410,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", "/user/username/projects/project/aa.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -466,7 +464,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -490,7 +488,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -506,12 +504,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/a/app.js - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -555,7 +553,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -581,7 +579,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7448f9babfdd2..e2e8c78f00157 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -173,8 +173,6 @@ 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* @@ -185,7 +183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/b/commonFile2.ts: *new* {} @@ -203,7 +201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/b/tsconfig.json @@ -243,12 +241,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library excluedFile1.ts Root file specified for compilation @@ -298,7 +296,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/commonFile2.ts: {} @@ -320,7 +318,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 da4da488d8a54..fa0aac9002e3c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -163,8 +163,6 @@ 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 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -191,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -249,12 +247,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' @@ -321,7 +319,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -340,13 +338,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -391,7 +389,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6e4333a90ed91..93cbb70cd4f31 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Root file specified for compilation @@ -86,8 +86,6 @@ 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* @@ -112,7 +110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -122,7 +120,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -158,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -237,7 +235,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -302,7 +300,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/c/tsconfig.json: *new* {} @@ -360,14 +358,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/f1.ts Imported via "../b/f1" from file 'f2.ts' f2.ts @@ -521,7 +519,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/c/f2.ts: *new* {} @@ -545,7 +543,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 de4b3355e54ea..2c3a1803dc214 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation node_modules/@types/typings/lib.d.ts @@ -214,8 +214,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c5219faf88142..1e8bb9fc5188d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -161,8 +161,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -187,7 +185,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c50ba62ede2b4..a9cbffbe7dd6e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -195,8 +195,6 @@ 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 +223,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/b/tsconfig.json: *new* {} @@ -241,7 +239,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f149b7b3e5d15..50803bedaf4d7 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -188,8 +188,6 @@ 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 +198,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -279,12 +277,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Root file specified for compilation @@ -326,7 +324,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -342,7 +340,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c7e2390858721..f62c28b3d087a 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,23 +271,18 @@ 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 (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; };" +Info seq [hh:mm:ss:mss] Files (1) /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 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* @@ -304,8 +299,6 @@ 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: @@ -328,10 +321,6 @@ 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 @@ -364,11 +353,10 @@ 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": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -413,7 +401,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -436,7 +424,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -469,7 +457,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 (2) +Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -504,10 +492,6 @@ 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: {} @@ -533,10 +517,6 @@ 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 0d363a94242df..cce6653601252 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -203,8 +203,6 @@ 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* @@ -227,7 +225,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/b/tsconfig.json: *new* {} @@ -243,7 +241,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -290,7 +288,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/a/b/tsconfig.json @@ -331,12 +329,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module1.ts Root file specified for compilation @@ -398,7 +396,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b/tsconfig.json: {} @@ -418,7 +416,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -503,13 +501,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../module1.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -590,12 +588,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module1.ts Root file specified for compilation @@ -695,7 +693,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b: *new* {} @@ -721,7 +719,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/b/tsconfig.json @@ -762,12 +760,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -841,7 +839,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/b: {} @@ -861,7 +859,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 171f540bff87e..4d2b73ac4a3b5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -186,8 +186,6 @@ 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* @@ -198,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -264,12 +262,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Part of 'files' list in tsconfig.json @@ -372,7 +370,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -394,7 +392,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -452,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -600,7 +598,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -671,7 +669,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -706,7 +704,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/a/tsconfig.json @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -814,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/a/tsconfig.json @@ -850,12 +848,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/b/b.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Part of 'files' list in tsconfig.json @@ -907,7 +905,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -948,7 +946,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -1012,7 +1010,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/a.ts: *new* {} @@ -1039,7 +1037,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/a/tsconfig.json @@ -1096,7 +1094,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/a.ts: {} @@ -1126,7 +1124,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/a/tsconfig.json @@ -1157,12 +1155,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/a/a.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -1206,7 +1204,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dummy/tsconfig.json: {} @@ -1239,7 +1237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 de5ee8baef985..006936004e1d3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Root file specified for compilation @@ -196,8 +196,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/server/tsconfig.json: *new* {} @@ -238,7 +236,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9dfb912378f0e..2724767d8b9b1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -180,8 +180,6 @@ 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* @@ -192,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -206,7 +204,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -258,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Part of 'files' list in tsconfig.json @@ -366,7 +364,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -388,7 +386,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -460,7 +458,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -508,7 +506,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -639,7 +637,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -770,7 +768,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -849,7 +847,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -926,7 +924,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -973,7 +971,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 6fba44f9c3d77..323a3619a4a6b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -188,11 +188,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/jsconfig.json: *new* {} @@ -205,7 +203,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d3f1f5c2122c8..ebbc275be43a1 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,8 +45,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -104,7 +102,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.es2024.full.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] 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 @@ -114,13 +112,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../foo/lib/index.d.ts Imported via "../foo/lib" from file 'index.ts' index.ts @@ -217,7 +215,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/bar/tsconfig.json: *new* {} @@ -237,7 +235,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/bar/tsconfig.json @@ -296,13 +294,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../foo/lib/index.d.ts Imported via "../foo/lib" from file 'index.ts' index.ts @@ -632,7 +630,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/bar/tsconfig.json: {} @@ -660,7 +658,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/bar/tsconfig.json @@ -723,12 +721,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by include pattern 'index.ts' in 'tsconfig.json' @@ -842,7 +840,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/bar/tsconfig.json: {} @@ -876,7 +874,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/bar/tsconfig.json @@ -958,7 +956,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/bar/tsconfig.json: {} @@ -980,7 +978,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0b5b74ab1e846..f5af05f4777b8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ^app.ts Matched by default include pattern '**/*' file.ts @@ -163,8 +163,6 @@ 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 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/^app.ts: *new* {} @@ -191,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 ba2ff5ad64f7a..dd108a390c182 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -139,8 +139,6 @@ 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 +161,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -191,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -272,7 +270,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -308,7 +306,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -394,7 +392,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -442,7 +440,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -512,7 +510,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -560,7 +558,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -592,12 +590,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -605,14 +603,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -678,7 +676,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -750,7 +748,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ee3514e74f641..9ded801f8cc7c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -905,12 +903,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -987,7 +985,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1023,7 +1021,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1121,7 +1119,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1171,7 +1169,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1248,7 +1246,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1297,7 +1295,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1330,12 +1328,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1343,14 +1341,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1426,7 +1424,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1492,7 +1490,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8f214ec2ccb84..c036c799140be 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -942,7 +940,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -978,7 +976,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1044,7 +1042,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1081,7 +1079,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1113,12 +1111,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1126,14 +1124,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1197,7 +1195,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1253,7 +1251,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3f650d2e1dcdf..e0a3711bbe145 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -910,12 +908,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1021,7 +1019,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1068,7 +1066,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1145,7 +1143,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1194,7 +1192,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1227,12 +1225,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1240,12 +1238,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1262,14 +1260,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1336,7 +1334,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1409,7 +1407,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 2505466be8bd6..953c9565efb0b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -213,8 +213,6 @@ 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 +225,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -245,7 +243,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -306,7 +304,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -326,7 +324,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -381,13 +379,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Source from referenced project '../a/tsconfig.json' included because '--module' is specified as 'none' b.ts @@ -511,7 +509,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -541,7 +539,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4f286d7f9726e..4f2ba5f5a9028 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -910,12 +908,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1055,7 +1053,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1102,7 +1100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1179,7 +1177,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1228,7 +1226,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1261,12 +1259,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1274,12 +1272,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1296,14 +1294,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1370,7 +1368,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1443,7 +1441,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d8c8439a9ae18..882aa7d57018f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -247,8 +247,6 @@ 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* @@ -261,7 +259,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -279,7 +277,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -340,7 +338,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -360,7 +358,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -413,12 +411,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -493,12 +491,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -548,7 +546,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -586,7 +584,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -648,7 +646,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -668,7 +666,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -700,7 +698,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -775,13 +773,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Imported via "../a/a" from file 'user.ts' user.ts @@ -893,7 +891,7 @@ FsWatches:: {} /home/src/projects/project/user/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -934,7 +932,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/b/tsconfig.json @@ -1044,7 +1042,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1078,7 +1076,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/b/tsconfig.json @@ -1118,12 +1116,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1198,7 +1196,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1241,7 +1239,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/b/tsconfig.json @@ -1306,7 +1304,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1346,7 +1344,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/b/tsconfig.json @@ -1380,12 +1378,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1393,12 +1391,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -1412,13 +1410,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts /home/src/projects/project/user/user.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Imported via "../a/a" from file 'user.ts' user.ts @@ -1442,12 +1440,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1508,7 +1506,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1570,7 +1568,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/project/user/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9884b9b2f847a..19bfe81634cc9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -936,7 +934,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -977,7 +975,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1045,7 +1043,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1087,7 +1085,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1119,12 +1117,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1132,14 +1130,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1204,7 +1202,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1267,7 +1265,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 96262ced49c8d..9169a5c98719b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by default include pattern '**/*' @@ -193,8 +193,6 @@ 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 +205,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -225,7 +223,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -282,12 +280,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library src/b.ts Matched by include pattern './src' in 'tsconfig.json' @@ -398,7 +396,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -426,7 +424,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json @@ -456,13 +454,13 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false ScriptInfos:: @@ -474,7 +472,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 2746a7cf228dc..b7982d504cdc6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -923,7 +921,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -937,7 +935,7 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 3 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.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 @@ -972,7 +970,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -1044,7 +1042,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1092,7 +1090,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -1125,12 +1123,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1138,14 +1136,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1211,7 +1209,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1242,7 +1240,7 @@ Projects:: isClosed: true *changed* isOrphan: true documentPositionMappers: 0 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *deleted* + /home/src/tslibs/ts/lib/lib.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* @@ -1284,7 +1282,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 0d06f550862c7..648cd7fb208d0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -921,7 +919,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -957,7 +955,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1023,7 +1021,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1060,7 +1058,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1092,12 +1090,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1105,14 +1103,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1176,7 +1174,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1232,7 +1230,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 6ec005d11cfc0..8c7ddcbc64c63 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -924,7 +922,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -965,7 +963,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1033,7 +1031,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1075,7 +1073,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1107,12 +1105,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1120,14 +1118,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1192,7 +1190,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1255,7 +1253,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8b9229ec2958d..76bc69256ee3c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -924,7 +922,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -965,7 +963,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1033,7 +1031,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1075,7 +1073,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1107,12 +1105,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1120,14 +1118,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1192,7 +1190,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1255,7 +1253,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 db8313f162f61..3600c2ee65e54 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -924,7 +922,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -965,7 +963,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1033,7 +1031,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1075,7 +1073,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1107,12 +1105,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1120,14 +1118,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1192,7 +1190,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1255,7 +1253,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 94b6a8d81eaba..36e3885633c63 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -939,7 +937,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -987,7 +985,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1058,7 +1056,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1106,7 +1104,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1138,12 +1136,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1151,14 +1149,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1224,7 +1222,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1296,7 +1294,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 fb2c70e08987a..cd712c9a94f58 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -247,8 +247,6 @@ 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* @@ -261,7 +259,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -279,7 +277,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -340,7 +338,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -360,7 +358,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -413,12 +411,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -493,12 +491,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -548,7 +546,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -586,7 +584,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -648,7 +646,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -668,7 +666,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -743,14 +741,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Imported via "../a/a" from file 'user.ts' ../b/b.ts @@ -865,7 +863,7 @@ FsWatches:: {} /home/src/projects/project/user/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -901,7 +899,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 df2a8bf18bf95..52d4b24c5864f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -247,8 +247,6 @@ 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* @@ -261,7 +259,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -279,7 +277,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -340,7 +338,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -360,7 +358,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -413,12 +411,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -493,12 +491,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -548,7 +546,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -586,7 +584,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -648,7 +646,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -668,7 +666,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -743,14 +741,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Imported via "../a/a" from file 'user.ts' ../b/b.ts @@ -865,7 +863,7 @@ FsWatches:: {} /home/src/projects/project/user/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -901,7 +899,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/user/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 0054856d0c2b5..8757660708745 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -905,12 +903,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -987,7 +985,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1023,7 +1021,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1135,7 +1133,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1185,7 +1183,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1262,7 +1260,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1311,7 +1309,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1344,12 +1342,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1357,14 +1355,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1440,7 +1438,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1506,7 +1504,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 489caaabdc5e9..f76ef1aa27c6a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -959,7 +957,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts.map: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -995,7 +993,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1061,7 +1059,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1098,7 +1096,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1130,12 +1128,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1143,14 +1141,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1214,7 +1212,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1270,7 +1268,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 22265cad0c44d..9032a409caa8e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -909,12 +907,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1036,7 +1034,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1083,7 +1081,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1160,7 +1158,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1209,7 +1207,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1242,12 +1240,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1255,12 +1253,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1277,14 +1275,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1351,7 +1349,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1424,7 +1422,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5599f5309a4cb..5deffc225691d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -232,8 +232,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -325,7 +323,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -398,12 +396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -478,12 +476,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -533,7 +531,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -571,7 +569,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/b/tsconfig.json *new* @@ -633,7 +631,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -653,7 +651,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -685,7 +683,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -721,14 +719,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -740,12 +738,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/b.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -805,7 +803,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -851,7 +849,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -909,12 +907,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -997,7 +995,7 @@ FsWatches:: {} /home/src/projects/project/b/bin/b.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1044,7 +1042,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1121,7 +1119,7 @@ FsWatches:: {} /home/src/projects/project/user/user.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1170,7 +1168,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1203,12 +1201,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1216,12 +1214,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -1238,14 +1236,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/bin/a.d.ts Imported via "../a/bin/a" from file 'user.ts' ../b/bin/b.d.ts @@ -1312,7 +1310,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1385,7 +1383,7 @@ ScriptInfos:: /home/src/projects/project/user/user.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c660bb9204df0..d193cff128c03 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -166,8 +166,6 @@ 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* @@ -176,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -209,7 +207,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.es2024.full.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.d.ts: TS 1 Before request Info seq [hh:mm:ss:mss] request: @@ -244,7 +242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -261,12 +259,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -274,7 +272,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.es2024.full.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.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 @@ -291,7 +289,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -336,7 +334,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -353,13 +351,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -369,5 +367,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.es2024.full.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.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 d7b31c1cb075e..d15d01987548a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -166,8 +166,6 @@ 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* @@ -176,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -209,7 +207,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.es2024.full.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.d.ts: TS 1 Before request Info seq [hh:mm:ss:mss] request: @@ -244,7 +242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -261,12 +259,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -274,7 +272,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.es2024.full.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.d.ts: TS 1 Before request Projects:: @@ -285,7 +283,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -329,7 +327,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -345,13 +343,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -361,5 +359,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.es2024.full.d.ts: TS 1 + /home/src/tslibs/ts/lib/lib.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 afde861044776..bbdec8db77162 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ^/inmemory/model/6 Root file specified for compilation @@ -70,8 +70,6 @@ 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* @@ -80,7 +78,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -118,13 +116,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ^/inmemory/model/6 Root file specified for compilation ^/inmemory/model/4 @@ -160,7 +158,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -208,7 +206,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -263,13 +261,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ^/inmemory/model/6 Root file specified for compilation ^/inmemory/model/4 @@ -302,7 +300,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fe54658febe36..775b826a3c4b7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +204,6 @@ 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* @@ -226,7 +224,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -264,7 +262,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -318,7 +316,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -355,7 +353,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7619db171f2ed..5a2140e58cc46 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -182,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -210,12 +208,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^/chat-editing-snapshot-text-model/ts-nul-authority/c/temp/codeRepo/src/services/user.service.ts Root file specified for compilation @@ -257,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -291,12 +289,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + home/src/tslibs/TS/Lib/lib.d.ts + Default library ^/vscode-chat-code-block/dnnjb2rllwnoyxqtc2vzc2lvbjovl2xvy2fsl1peag1oelv6tkdvde9uvtvnuzawtxpbnuxxstrare10tvrobfpuvtbpvgmytudwaq/response_6b1244f1-9aca-4b8b-8f65-0ff7ed4e6b4e/2#{"references":[]} Root file specified for compilation @@ -348,7 +346,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7a362e30111ec..085de956d223c 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,26 +53,24 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -81,7 +79,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -113,11 +111,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", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -167,7 +165,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -191,7 +189,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 681e5d013a378..d58b0a43a7f39 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.es2024.full.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] 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,19 +45,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ^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* @@ -66,7 +64,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -75,7 +73,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -107,11 +105,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", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -167,7 +165,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -191,7 +189,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -237,7 +235,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -282,12 +280,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js Root file specified for compilation @@ -296,11 +294,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -349,7 +347,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -373,7 +371,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -423,7 +421,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5b73b35ff02c9..33c07961e0cd1 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,25 +31,23 @@ 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^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* @@ -58,7 +56,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -67,7 +65,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -99,11 +97,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", "^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -153,7 +151,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -177,7 +175,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 3470d82901a20..1ff7a96f66e1c 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,26 +54,24 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -114,7 +112,7 @@ 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", "^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 1134160169d78..d34b56797dd1b 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.es2024.full.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] 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,19 +46,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -67,7 +65,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -76,7 +74,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -108,11 +106,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", "untitled:^Untitled-1" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -161,7 +159,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -184,7 +182,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -227,7 +225,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -271,7 +269,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -323,12 +321,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file.ts Matched by default include pattern '**/*' @@ -397,12 +395,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts untitled:^Untitled-1 - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library untitled:^Untitled-1 Root file specified for compilation @@ -456,7 +454,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -479,7 +477,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c586e70a7a734..abf7713c194fb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Untitled-1.ts Matched by default include pattern '**/*' @@ -173,8 +173,6 @@ 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* @@ -183,7 +181,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -199,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 58fa0a5c243af..8c3061ab1dd8d 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.es2024.full.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] 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,19 +43,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -64,7 +62,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -73,7 +71,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -105,11 +103,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", "untitled:^Untitled-1" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -158,7 +156,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -181,7 +179,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -224,7 +222,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -280,12 +278,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Untitled-1.ts Matched by default include pattern '**/*' @@ -388,7 +386,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -467,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -500,12 +498,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library untitled:^Untitled-1 Root file specified for compilation @@ -514,11 +512,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", "untitled:^Untitled-1" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -558,7 +556,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -581,7 +579,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -632,7 +630,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ba62cc8a0d148..0d758f2ec8b17 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -157,8 +157,6 @@ 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* @@ -171,7 +169,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/proj/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -189,7 +187,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/proj/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/proj/tsconfig.json @@ -221,12 +219,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library untitled:^Untitled-1 Root file specified for compilation @@ -270,7 +268,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/proj/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -292,7 +290,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/proj/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c648fe9a0c9b8..3a710dd3609cf 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library untitled:/Users/matb/projects/san/^newFile.ts Root file specified for compilation @@ -66,8 +66,6 @@ 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* @@ -76,7 +74,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -86,7 +84,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 27e8e8b89ac0f..6a11347fd2e31 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +66,6 @@ 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* @@ -76,7 +74,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -86,7 +84,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 4bcce4b160867..f8f3ad10f597d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library untitled:^Untitled-1 Root file specified for compilation @@ -70,8 +70,6 @@ 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* @@ -80,7 +78,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -134,7 +132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -163,12 +161,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library untitled:^Untitled-1 Root file specified for compilation @@ -202,7 +200,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a8885b026915a..a93b2b4a017cb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library large.js Imported via "./large" from file 'file.ts' file.ts @@ -97,8 +97,6 @@ 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* @@ -117,7 +115,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src: *new* {} @@ -131,7 +129,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 028c6df6b915e..790071af32b4b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file.ts Part of 'files' list in tsconfig.json src/large.js @@ -205,8 +205,6 @@ 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* @@ -215,7 +213,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/large.js: *new* {} @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d3bebde706486..a33e2c5671709 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library large.ts Imported via "./large" from file 'file.ts' file.ts @@ -83,8 +83,6 @@ 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* @@ -103,7 +101,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/large.ts: *new* {} @@ -115,7 +113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 39f5de6825a75..7ad7bd2d9ac50 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file.ts Part of 'files' list in tsconfig.json src/large.ts @@ -188,8 +188,6 @@ 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* @@ -198,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/large.ts: *new* {} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 17149a5ca7aef..fc3ee80b654d9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -188,11 +188,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -205,7 +203,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -285,12 +283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -298,7 +296,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -316,7 +314,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -352,7 +350,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -500,7 +498,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 7e3d56d6b91a7..854d157be3d15 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -193,11 +193,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/extremlylarge.d.ts: *new* {} @@ -212,7 +210,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 baf84d5ea2df8..c1c5152d1d72a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -164,8 +164,6 @@ 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* @@ -174,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 bb9a38a620006..726334d41605b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -161,8 +161,6 @@ 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* @@ -171,7 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 730fa74c8014b..edce8491e4297 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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* @@ -165,7 +163,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -181,7 +179,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7b6e71ad34c05..d265d6907c11d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -152,8 +152,6 @@ 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* @@ -162,7 +160,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -178,7 +176,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 1f757af2ddfda..d41204aadb7cd 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -216,8 +216,6 @@ 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 +224,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 075e44a51f66d..a2e5ccd9b1d33 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -213,8 +213,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -242,7 +240,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 161ac6760d10b..5403194678302 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -182,8 +182,6 @@ 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* @@ -192,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -209,7 +207,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 adbf13db4e645..2a3707aec2909 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -179,8 +179,6 @@ 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* @@ -189,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -206,7 +204,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 fe555c3449326..6e213da366d73 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -221,8 +221,6 @@ 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* @@ -231,7 +229,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: {} @@ -249,7 +247,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 80c63f461ad42..8ac47c0176a8c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: {} @@ -246,7 +244,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9d8fb900b474a..e24fe412a7595 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/a.d.ts Imported via "../a/a" from file 'b.ts' File is output of project reference source '../a/a.ts' @@ -228,8 +228,6 @@ 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* @@ -238,7 +236,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.d.ts: *new* {} @@ -260,7 +258,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -309,12 +307,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -462,7 +460,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/a/a.d.ts: {} @@ -495,7 +493,7 @@ Projects:: /user/username/projects/a/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 eb51e8ec6bc55..fb4f062238b0d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/a.d.ts Imported via "../a/a" from file 'b.ts' File is output of project reference source '../a/a.ts' @@ -225,8 +225,6 @@ 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* @@ -235,7 +233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.d.ts: *new* {} @@ -257,7 +255,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -306,12 +304,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -456,7 +454,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/a/a.d.ts: {} @@ -489,7 +487,7 @@ Projects:: /user/username/projects/a/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 35e1c17dab5e5..8aac77d372411 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Imported via "../a/a" from file 'b.ts' b.ts @@ -221,8 +221,6 @@ 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* @@ -231,7 +229,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -253,7 +251,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -300,12 +298,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -453,7 +451,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/a/a.ts: {} @@ -481,7 +479,7 @@ Projects:: /user/username/projects/b/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8add5cecaa0d7..d947b0cefe04d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/a.ts Imported via "../a/a" from file 'b.ts' b.ts @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/a.ts: *new* {} @@ -250,7 +248,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/b/tsconfig.json @@ -297,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -447,7 +445,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/a/a.ts: {} @@ -475,7 +473,7 @@ Projects:: /user/username/projects/b/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c945f6a9b2f3d..2e56d4cbdd245 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -161,8 +161,6 @@ 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* @@ -171,7 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -187,7 +185,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json @@ -238,12 +236,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -344,7 +342,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/a/tsconfig.json: {} @@ -368,7 +366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 103fa6c07be3f..0763effb35888 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -168,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/a/tsconfig.json: *new* {} @@ -184,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/a/tsconfig.json @@ -235,12 +233,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' @@ -338,7 +336,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/a/tsconfig.json: {} @@ -362,7 +360,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 067c23ee6f457..bddad64584ea9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file3.ts @@ -167,8 +167,6 @@ 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* @@ -181,7 +179,7 @@ FsWatches:: {} /a/b/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -203,7 +201,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -240,7 +238,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -250,7 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 {}" @@ -302,7 +300,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ef114003b1915..64eed5956bca6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file3.ts @@ -183,8 +183,6 @@ 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* @@ -199,7 +197,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -227,7 +225,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -263,7 +261,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -282,7 +280,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 {}" @@ -325,7 +323,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -372,7 +370,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder: {} @@ -436,14 +434,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -505,7 +503,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder: {} @@ -536,7 +534,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 61b457f8caa26..b784126e5949b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -163,8 +163,6 @@ 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* @@ -175,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -193,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -290,7 +288,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -298,8 +296,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -355,7 +353,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -384,7 +382,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 30a3cdef30e58..ddced088ccbe8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -193,8 +193,6 @@ 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* @@ -203,7 +201,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -221,7 +219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -316,7 +314,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -324,8 +322,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -377,7 +375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -406,7 +404,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a4c9e226e4168..0b6dfdaf1f8bc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -299,15 +297,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/globalFile3.ts: *new* {} @@ -387,7 +385,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e871f0eed3221..b4690f166dba2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -303,7 +301,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -312,8 +310,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -372,7 +370,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -403,7 +401,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d78891ed5611a..14556ac418c36 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -290,7 +288,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -312,7 +310,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -320,8 +318,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -374,7 +372,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: {} @@ -401,7 +399,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -448,7 +446,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -479,7 +477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -524,7 +522,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -583,7 +581,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -628,7 +626,7 @@ Timeout callback:: count: 2 18: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -663,7 +661,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -712,7 +710,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: {} @@ -740,7 +738,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -799,7 +797,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -840,7 +838,7 @@ Timeout callback:: count: 2 20: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -871,7 +869,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -916,7 +914,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b8aeb98782a37..3ae0bf390cc79 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -283,7 +281,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -291,8 +289,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -348,7 +346,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -424,7 +422,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -455,7 +453,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -500,7 +498,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e85ddab6b7f24..fa29c6b3a8772 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Part of 'files' list in tsconfig.json @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -184,7 +182,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -256,13 +254,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -310,7 +308,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile1.ts: *new* {} @@ -329,7 +327,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -364,7 +362,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -383,7 +381,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -425,7 +423,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 802965f5c0ca6..947778d66d1f6 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -226,7 +224,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -266,7 +264,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -285,13 +283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' @@ -336,7 +334,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile2.ts: *new* {} @@ -355,7 +353,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f5803d9d4e5b1..0ebb397d0769f 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -220,7 +218,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 8eecd99315bc0..cb722dd97f83b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -283,7 +281,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -291,8 +289,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -348,7 +346,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 422bccd9e1947..bb9b800ffa3df 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -300,7 +298,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -327,7 +325,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -336,8 +334,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -396,7 +394,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer1Consumer1.ts: *new* {} @@ -427,7 +425,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -478,7 +476,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -513,7 +511,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -559,7 +557,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -622,7 +620,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -667,7 +665,7 @@ Timeout callback:: count: 2 21: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -702,7 +700,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -748,7 +746,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9b8f37ffd9108..e46be5fd7dc07 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -221,7 +219,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -247,13 +245,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -299,7 +297,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -318,7 +316,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cec9b935649b0..f6650a2fdfdeb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -174,8 +174,6 @@ 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* @@ -184,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -237,13 +235,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -287,7 +285,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -306,7 +304,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -341,7 +339,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -360,7 +358,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" @@ -402,7 +400,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2fb7acbebc216..e5f6d411056d2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -152,8 +152,6 @@ 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 +160,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -178,7 +176,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -215,13 +213,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -265,7 +263,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -284,7 +282,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -324,14 +322,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -377,7 +375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: {} @@ -397,7 +395,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 24189df5831ae..bdba360c3722c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -154,8 +154,6 @@ 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* @@ -164,7 +162,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -180,7 +178,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -217,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -267,7 +265,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -286,7 +284,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -321,7 +319,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -340,7 +338,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" @@ -382,7 +380,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c83a30742f63f..4d5d606a5d807 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file3.ts @@ -170,8 +170,6 @@ 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* @@ -184,7 +182,7 @@ FsWatches:: {} /a/b/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -206,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -243,7 +241,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -253,7 +251,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 {}" @@ -306,7 +304,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 67fe085a664d0..233dc6262dcdb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file3.ts @@ -186,8 +186,6 @@ 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* @@ -202,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -230,7 +228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -266,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -285,7 +283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 {}" @@ -329,7 +327,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -376,7 +374,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder: {} @@ -440,14 +438,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -510,7 +508,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder: {} @@ -541,7 +539,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e8ecb7676db10..eef0d4984ea97 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -166,8 +166,6 @@ 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* @@ -178,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -196,7 +194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -293,7 +291,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -301,8 +299,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -359,7 +357,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -388,7 +386,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cb571a63ff66e..32646f45c70b6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -196,8 +196,6 @@ 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* @@ -206,7 +204,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -224,7 +222,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -319,7 +317,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -327,8 +325,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -381,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -410,7 +408,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a7dec8df3a8dc..b8a4c3f314a02 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -302,15 +300,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -364,7 +362,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/globalFile3.ts: *new* {} @@ -391,7 +389,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 15161760e7d0e..a75fac8ff2d49 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -306,7 +304,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -315,8 +313,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -376,7 +374,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -407,7 +405,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6a8905f429ee0..8b9c3b9049344 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -293,7 +291,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -315,7 +313,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -323,8 +321,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -378,7 +376,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: {} @@ -405,7 +403,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -452,7 +450,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -483,7 +481,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -529,7 +527,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -588,7 +586,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -633,7 +631,7 @@ Timeout callback:: count: 2 18: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -668,7 +666,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -718,7 +716,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: {} @@ -746,7 +744,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -805,7 +803,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -846,7 +844,7 @@ Timeout callback:: count: 2 20: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -877,7 +875,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -923,7 +921,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b77d7a248d3ea..fd21618c47de2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -286,7 +284,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -294,8 +292,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -352,7 +350,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -381,7 +379,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -428,7 +426,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -459,7 +457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -505,7 +503,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 02cb9c2db5d6e..f250c696c91f7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Part of 'files' list in tsconfig.json @@ -161,8 +161,6 @@ 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 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +185,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -259,13 +257,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -314,7 +312,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile1.ts: *new* {} @@ -333,7 +331,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -368,7 +366,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -387,7 +385,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -430,7 +428,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2c8cc66ebeb94..4cf77bfb44d51 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -269,7 +267,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -288,13 +286,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' @@ -340,7 +338,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile2.ts: *new* {} @@ -359,7 +357,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fdb2492f49f53..08349568010c0 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -223,7 +221,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 2b0d32be5cf03..130436fa7112d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -286,7 +284,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -294,8 +292,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -352,7 +350,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -381,7 +379,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d124669a52094..dcc961435ac11 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -303,7 +301,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -330,7 +328,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -339,8 +337,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -400,7 +398,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer1Consumer1.ts: *new* {} @@ -431,7 +429,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -482,7 +480,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -517,7 +515,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -564,7 +562,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -627,7 +625,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -672,7 +670,7 @@ Timeout callback:: count: 2 21: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -707,7 +705,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -754,7 +752,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8fcfcbc842c16..37173cf561969 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -224,7 +222,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -250,13 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -303,7 +301,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -322,7 +320,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 566e9a36e00bc..584dda231ce2f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -177,8 +177,6 @@ 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* @@ -187,7 +185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -203,7 +201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -240,13 +238,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -291,7 +289,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -310,7 +308,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -345,7 +343,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -364,7 +362,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 +405,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8070b275650d9..2573dcc7e8cd0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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 +163,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +179,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -218,13 +216,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -288,7 +286,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -328,14 +326,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -382,7 +380,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: {} @@ -402,7 +400,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7832d93e8fb38..e5d4a3558ffb6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -157,8 +157,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -220,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -290,7 +288,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -325,7 +323,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -344,7 +342,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" @@ -387,7 +385,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e2638a129c55e..be01b7bb8d017 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file3.ts @@ -170,8 +170,6 @@ 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* @@ -184,7 +182,7 @@ FsWatches:: {} /a/b/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -206,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -243,7 +241,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/b/project/tsconfig.json @@ -253,7 +251,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 {}" @@ -310,7 +308,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /a/b/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0548d2378dd8a..633f1422f5c2d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file3.ts @@ -186,8 +186,6 @@ 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* @@ -202,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/rootfolder: *new* {} @@ -230,7 +228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -266,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -285,7 +283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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 {}" @@ -333,7 +331,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json @@ -381,7 +379,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder: {} @@ -426,14 +424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -477,7 +475,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/rootfolder: {} @@ -514,7 +512,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c9b6023897edc..8f9102a7f3022 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -166,8 +166,6 @@ 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* @@ -178,7 +176,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -196,7 +194,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -293,7 +291,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -301,8 +299,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -360,7 +358,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -392,7 +390,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1d1354334074e..59ed0128fb0ad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -196,8 +196,6 @@ 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* @@ -206,7 +204,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -224,7 +222,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -319,7 +317,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -327,8 +325,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -382,7 +380,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -414,7 +412,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 268a83a7221f5..94918938f0a07 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -302,15 +300,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -365,7 +363,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/globalFile3.ts: *new* {} @@ -395,7 +393,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8d26636f33dda..cc98307467b89 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -306,7 +304,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -315,8 +313,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -377,7 +375,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e3a2bf7f4476f..3dee91d9143ff 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -293,7 +291,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -315,7 +313,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -323,8 +321,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: {} @@ -409,7 +407,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -458,7 +456,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -488,7 +486,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -551,7 +549,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -610,7 +608,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -656,7 +654,7 @@ Timeout callback:: count: 2 20: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -691,7 +689,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -742,7 +740,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: {} @@ -773,7 +771,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -832,7 +830,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -875,7 +873,7 @@ Timeout callback:: count: 3 23: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -906,7 +904,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -956,7 +954,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a2e8b9a3517a3..4dbbae99202aa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -286,7 +284,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -294,8 +292,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -353,7 +351,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -385,7 +383,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -434,7 +432,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -464,7 +462,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -527,7 +525,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2e5e55f06cdb4..3ae6c9efd3251 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Part of 'files' list in tsconfig.json @@ -161,8 +161,6 @@ 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 +171,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -187,7 +185,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -259,13 +257,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts @@ -315,7 +313,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile1.ts: *new* {} @@ -337,7 +335,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -374,7 +372,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -392,7 +390,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -452,7 +450,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2261e5e3a53a7..0227c229b970f 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -229,7 +227,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -269,7 +267,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -288,13 +286,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' @@ -341,7 +339,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile2.ts: *new* {} @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 148d633660e0c..a3df57fd5eb56 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library referenceFile1.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -223,7 +221,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 36de7d5911550..4252add212247 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -286,7 +284,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -294,8 +292,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -353,7 +351,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer2.ts: *new* {} @@ -385,7 +383,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7a105164da4d1..26f72a0213dba 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1Consumer1.ts Matched by default include pattern '**/*' @@ -159,8 +159,6 @@ 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 +169,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -189,7 +187,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -303,7 +301,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -330,7 +328,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -339,8 +337,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -401,7 +399,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file1Consumer1Consumer1.ts: *new* {} @@ -435,7 +433,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -488,7 +486,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -522,7 +520,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -586,7 +584,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -649,7 +647,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -696,7 +694,7 @@ Timeout callback:: count: 3 23: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -731,7 +729,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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\";" @@ -782,7 +780,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 991e4a9482dad..31f8acc16c868 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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* @@ -170,7 +168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -186,7 +184,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -224,7 +222,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -250,13 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -326,7 +324,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f3bbea2929e31..72091d5f6a653 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -177,8 +177,6 @@ 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* @@ -187,7 +185,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -203,7 +201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -240,13 +238,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -292,7 +290,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -314,7 +312,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -351,7 +349,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -369,7 +367,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" @@ -429,7 +427,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 15ae84458a32d..ef129a99e80eb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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 +163,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +179,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -218,13 +216,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -270,7 +268,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: *new* {} @@ -292,7 +290,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -333,14 +331,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -399,7 +397,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/file2.ts: {} @@ -424,7 +422,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ea2dbffacb1b8..bdc3a05c1b146 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -157,8 +157,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -220,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -272,7 +270,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/b.ts: *new* {} @@ -294,7 +292,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -331,7 +329,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -349,7 +347,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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" @@ -409,7 +407,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 29963c0584150..fb1e7babf6dd0 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -354,12 +354,10 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/b.ts: *new* {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/m.ts: *new* @@ -398,7 +396,7 @@ c:/projects/myproject/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -498,7 +496,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -506,8 +504,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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -552,8 +550,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -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:/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/b.ts: {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: *new* @@ -595,7 +593,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* autoImportProviderHost: undefined *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -661,7 +659,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -696,7 +694,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -742,7 +740,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -811,8 +809,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -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:/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/c.ts: {"event":{"id":15,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: @@ -849,7 +847,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.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -916,8 +914,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -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:/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/b.ts: *new* {"event":{"id":16,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: @@ -952,7 +950,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.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1019,7 +1017,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1054,7 +1052,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -1100,7 +1098,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1224,7 +1222,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1285,7 +1283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -1295,8 +1293,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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -1345,8 +1343,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -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:/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"c:/home/src/tslibs/TS/Lib/lib.d.ts"}} c:/projects/myproject/b.ts: {"event":{"id":16,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: @@ -1391,7 +1389,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1469,7 +1467,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: true *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 c:/projects/myproject/tsconfig.json @@ -1514,7 +1512,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -1538,7 +1536,7 @@ c:/projects/myproject/tsconfig.json (Configured) *changed* dirty: false *changed* ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +c:/home/src/tslibs/TS/Lib/lib.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 a3e773b304527..1b566cd2ace7e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -118,8 +118,6 @@ 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* @@ -136,7 +134,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -162,7 +160,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -217,7 +215,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -225,8 +223,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -273,7 +271,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -302,7 +300,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -380,7 +378,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -411,7 +409,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -445,7 +443,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -549,7 +547,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -573,7 +571,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -643,7 +641,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -665,7 +663,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -713,7 +711,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -744,7 +742,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -778,7 +776,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -868,7 +866,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -877,8 +875,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -927,7 +925,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -957,7 +955,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1008,7 +1006,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1043,7 +1041,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1078,7 +1076,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1141,7 +1139,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1151,8 +1149,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -1203,7 +1201,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -1235,7 +1233,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 19aa144683ce1..cce2b903f313a 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":6,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -354,12 +354,10 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.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* @@ -398,7 +396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -498,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -506,8 +504,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -552,8 +550,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.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* @@ -595,7 +593,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -661,7 +659,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -696,7 +694,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -742,7 +740,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -811,8 +809,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} /user/username/projects/myproject/c.ts: {"event":{"id":15,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: @@ -849,7 +847,7 @@ FsWatchesRecursive:: {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -916,8 +914,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.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: @@ -952,7 +950,7 @@ FsWatchesRecursive:: {"event":{"id":14,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1019,7 +1017,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1054,7 +1052,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1100,7 +1098,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1224,7 +1222,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1285,7 +1283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1295,8 +1293,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -1345,8 +1343,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":6,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} /user/username/projects/myproject/b.ts: {"event":{"id":16,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: @@ -1391,7 +1389,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1469,7 +1467,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -1514,7 +1512,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1538,7 +1536,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8bd27b44906d3..dbac58437f206 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,8 +240,6 @@ 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* @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -301,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -394,7 +392,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 242fc2fe2e775..dd33524fafa95 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,8 +240,6 @@ 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* @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -301,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -394,7 +392,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 76c7250ac682a..4c6cbc4242120 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' ../lib/index.ts @@ -257,8 +257,6 @@ 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* @@ -281,7 +279,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -309,7 +307,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -350,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -472,7 +470,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -510,7 +508,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.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -650,7 +648,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json @@ -660,7 +658,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 73eaeb0310b67..d2318c1cce930 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -260,8 +260,6 @@ 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* @@ -280,7 +278,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -307,7 +305,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -348,12 +346,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -470,7 +468,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -507,7 +505,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -649,7 +647,7 @@ ScriptInfos:: containingProjects: 2 /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8edfd94120a06..07bb14eff7b4e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,8 +240,6 @@ 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* @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -301,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -394,7 +392,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -539,7 +537,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -548,7 +546,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 1c194c07a1636..b80da59f78222 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library utils.ts Imported via "./utils.js" from file 'classes.ts' Matched by default include pattern '**/*' @@ -174,8 +174,6 @@ 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* @@ -188,7 +186,7 @@ FsWatches:: {} /home/src/projects/project/utils.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -210,7 +208,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -405,7 +403,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 }" @@ -441,7 +439,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -468,7 +466,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -524,7 +522,7 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -553,7 +551,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 12e4f6b829460..3f2decee12d14 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,8 +240,6 @@ 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* @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -301,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -394,7 +392,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -525,7 +523,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -556,7 +554,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -611,7 +609,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -621,14 +619,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 f8d20638b1ef0..302b1b72eb3ff 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,8 +240,6 @@ 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* @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -301,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -394,7 +392,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -508,7 +506,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -516,8 +514,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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -597,7 +595,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -642,7 +640,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f0f0278b74a01..bb577e77165e8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ambient.d.ts @@ -240,8 +240,6 @@ 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* @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -301,7 +299,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -359,7 +357,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -394,7 +392,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -518,7 +516,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -563,7 +561,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /dev/null/autoImportProviderProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9d801b1e6d34c..25e7d87e189ad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' ../lib/index.ts @@ -257,8 +257,6 @@ 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* @@ -281,7 +279,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -309,7 +307,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -350,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -472,7 +470,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -510,7 +508,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.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -650,7 +648,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/packages/app/tsconfig.json @@ -660,7 +658,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 5d2126598f538..a32bf9d82ebbc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -260,8 +260,6 @@ 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* @@ -280,7 +278,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -307,7 +305,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/autoImportProviderProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json @@ -348,12 +346,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -470,7 +468,7 @@ FsWatches:: {} /home/src/projects/project/packages/lib/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -507,7 +505,7 @@ ScriptInfos:: containingProjects: 2 *changed* /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/packages/app/tsconfig.json @@ -649,7 +647,7 @@ ScriptInfos:: containingProjects: 2 /dev/null/autoImportProviderProject1* /home/src/projects/project/packages/lib/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9cdb5749bbd7d..e329676e51410 100644 --- a/tests/baselines/reference/tsserver/extends/configDir-template.js +++ b/tests/baselines/reference/tsserver/extends/configDir-template.js @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -371,8 +371,6 @@ 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* @@ -397,7 +395,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -431,7 +429,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -563,7 +561,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -659,7 +657,7 @@ FsWatches:: {} /home/src/projects/myproject/types/sometype.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 3d8f0a2029bdb..34993f9daa3ee 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -186,8 +186,6 @@ 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* @@ -198,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/user/projects/myconfigs/node_modules/@something/tsconfig-base/tsconfig.json: *new* {} @@ -218,7 +216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 577360aedda36..a4de4d4d9fb05 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/f1.ts Root file specified for compilation @@ -113,8 +113,6 @@ 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* @@ -127,7 +125,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -140,7 +138,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project @@ -170,13 +168,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -211,7 +209,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -228,7 +226,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8b49d777868a4..d46666cd4703c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -254,8 +254,6 @@ 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* @@ -280,7 +278,7 @@ PolledWatches:: FsWatches:: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -299,7 +297,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 5ae221b427092..11c42a8fa92b3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -282,8 +282,6 @@ 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: @@ -308,7 +306,7 @@ PolledWatches:: FsWatches:: /HOME/SRC/PROJECTS/PROJECT/A/B/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -325,7 +323,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d414c5e064239..51e1fbb86703b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -135,8 +135,6 @@ 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* @@ -159,7 +157,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -176,7 +174,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project @@ -218,14 +216,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/m.ts Imported via "m" from file '../../../projects/project/a/b/f1.ts' ../../../projects/project/a/b/f1.ts @@ -274,7 +272,7 @@ FsWatches:: {} /home/src/projects/project/a/m.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -299,7 +297,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5a89ed833df69..203a55fb056e8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -145,8 +145,6 @@ 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 +161,7 @@ FsWatches:: {} /home/src/projects/project/a/b/lib.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -180,7 +178,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -227,7 +225,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -244,7 +242,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -280,7 +278,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -308,13 +306,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts /home/src/projects/project/a/b/lib.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -358,7 +356,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -383,7 +381,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: true containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* @@ -420,12 +418,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -569,7 +567,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* @@ -605,13 +603,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -621,12 +619,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -672,7 +670,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -707,7 +705,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e3394aaf05871..3d192b9ea31e9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -145,8 +145,6 @@ 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 +161,7 @@ FsWatches:: {} /home/src/projects/project/a/b/lib.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -180,7 +178,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -227,7 +225,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -244,7 +242,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -280,7 +278,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -337,12 +335,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -411,13 +409,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts /home/src/projects/project/a/b/lib.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -464,7 +462,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -492,7 +490,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: true containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* @@ -536,7 +534,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -572,13 +570,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -588,12 +586,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -639,7 +637,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -674,7 +672,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 badbb78bef884..f7a13d0c1cfe2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -147,8 +147,6 @@ 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 +161,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -176,7 +174,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -211,12 +209,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -262,7 +260,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -286,7 +284,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* @@ -326,12 +324,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -432,12 +430,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -550,7 +548,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -583,7 +581,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -610,12 +608,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -670,7 +668,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -707,7 +705,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json @@ -743,12 +741,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -756,12 +754,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -815,7 +813,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -848,7 +846,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* @@ -884,12 +882,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -939,7 +937,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -969,7 +967,7 @@ ScriptInfos:: /home/src/projects/project/a/b/d/lib.ts version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/proj1 *deleted* @@ -1008,12 +1006,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -1072,12 +1070,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -1149,7 +1147,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1182,7 +1180,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -1200,12 +1198,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -1226,12 +1224,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -1278,7 +1276,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1317,7 +1315,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 15b623aa41f54..afdd7b0bd7ff3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -147,8 +147,6 @@ 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 +161,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -176,7 +174,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/proj1 @@ -241,12 +239,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -349,12 +347,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -423,12 +421,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -485,7 +483,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -519,7 +517,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -549,12 +547,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -609,7 +607,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -646,7 +644,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/d/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json @@ -682,12 +680,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -695,12 +693,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -754,7 +752,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -787,7 +785,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/proj1 *new* @@ -852,12 +850,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -918,12 +916,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -951,12 +949,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -1013,7 +1011,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1047,7 +1045,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/d/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/c/tsconfig.json *new* @@ -1068,12 +1066,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/c/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -1094,12 +1092,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/d/lib.ts - ../../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library lib.ts Matched by default include pattern '**/*' @@ -1146,7 +1144,7 @@ FsWatches:: {} /home/src/projects/project/a/b/d/lib.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1185,7 +1183,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/d/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 2269fa1a90b5d..6f682984e11a3 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.es2024.full.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] 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,19 +204,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -225,7 +223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/someuser/projects/project/js/site.js: *new* {} @@ -246,7 +244,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/project/WebApplication6.csproj @@ -278,7 +276,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/someuser/projects/project/WebApplication6.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/someuser/projects/project/js/site.js" ], "compilerOptions": { @@ -437,7 +435,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 b17a4547873b0..0be4c5e501f69 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.es2024.full.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] 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,19 +324,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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: @@ -345,7 +343,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/someuser/projects/project/js/site.js: *new* {} @@ -368,7 +366,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/project/WebApplication6.csproj @@ -400,7 +398,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/someuser/projects/project/WebApplication6.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/someuser/projects/project/js/site.js" ], "compilerOptions": { @@ -567,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 590cecde6a1f4..c5f5191e78129 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -114,8 +114,6 @@ 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* @@ -128,7 +126,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -141,7 +139,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj1.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a05aa8689bf2a..38c9b04a6b087 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^ScriptDocument1 file1.ts Root file specified for compilation @@ -106,8 +106,6 @@ 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* @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -127,7 +125,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 ^ScriptDocument1 file1.ts @@ -156,7 +154,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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] ----------------------------------------------- @@ -183,7 +181,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2debc955688ef..12147db555c13 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f2.ts Part of 'files' list in tsconfig.json @@ -291,8 +291,6 @@ 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* @@ -315,7 +313,7 @@ FsWatches:: {} /home/src/projects/project/a/c/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -335,7 +333,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/c/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -394,7 +392,7 @@ FsWatches:: {} /home/src/projects/project/a/c/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -411,7 +409,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/c/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -448,12 +446,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -521,7 +519,7 @@ FsWatches:: {} /home/src/projects/project/a/c/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -549,7 +547,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/a/b/tsconfig.json @@ -570,12 +568,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/c/f2.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f2.ts Part of 'files' list in tsconfig.json @@ -642,7 +640,7 @@ FsWatches:: {} /home/src/projects/project/a/c/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -676,7 +674,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/b/tsconfig.json @@ -755,7 +753,7 @@ FsWatches:: {} /home/src/projects/project/a/d/f3.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -782,7 +780,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -840,7 +838,7 @@ FsWatches:: {} /home/src/projects/project/a/d/f3.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -867,7 +865,7 @@ ScriptInfos:: /home/src/projects/project/a/d/f3.ts version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -918,12 +916,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f2.ts Part of 'files' list in tsconfig.json @@ -951,12 +949,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/f1.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Part of 'files' list in tsconfig.json @@ -973,12 +971,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/d/f3.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -1032,7 +1030,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/c/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1076,7 +1074,7 @@ ScriptInfos:: /home/src/projects/project/a/d/f3.ts *deleted* version: SVC-1-0 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 63ee77c10673e..6f7c066f597ae 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -164,8 +164,6 @@ 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 +178,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -198,7 +196,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -301,7 +299,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -321,7 +319,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -353,12 +351,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library f2.ts Root file specified for compilation @@ -366,12 +364,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/f1.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -429,7 +427,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -463,7 +461,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 cbecc37911af3..7cc90d4989068 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -161,8 +161,6 @@ 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* @@ -177,7 +175,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -195,7 +193,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -273,7 +271,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -286,7 +284,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -305,12 +303,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/f1.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/f1.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -371,7 +369,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 56dbee0c5d1e4..b3a1e709fd59b 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.es2024.full.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] 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,19 +266,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -289,7 +287,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: {} @@ -307,7 +305,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -339,11 +337,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", "/user/username/projects/myproject/javascript.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -393,7 +391,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -417,7 +415,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -464,7 +462,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -548,12 +546,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library javascript.js Matched by default include pattern '**/*' @@ -562,7 +560,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/myproject/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/myproject/javascript.js" ], "compilerOptions": { @@ -763,7 +761,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e283d5a44cf17..28cb0719a6792 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -220,8 +220,6 @@ 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* @@ -238,7 +236,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -257,7 +255,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -276,12 +274,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -318,7 +316,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/app.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -341,7 +339,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/b/tsconfig.json *deleted* @@ -400,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -460,7 +458,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -477,7 +475,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/b/tsconfig.json *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ba0f203332abb..15ea4e86c6dfc 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.es2024.full.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] 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,19 +187,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -214,7 +212,7 @@ FsWatches:: {} /home/src/projects/project/a/largefile.js: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -231,7 +229,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/proj.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj.csproj @@ -259,7 +257,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/proj.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/app.js" ], "compilerOptions": { @@ -370,7 +368,7 @@ FsWatches:: {} /home/src/projects/project/a/largefile.js: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -457,7 +455,7 @@ FsWatches:: {} /home/src/projects/project/a/largefile.js: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -474,7 +472,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/proj.csproj *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 671d3a04f3874..a0069edaa6543 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -118,8 +118,6 @@ 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 +130,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -145,7 +143,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/proj1.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c4476b0db010c..06f49f8a181bf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -192,8 +192,6 @@ 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 +208,7 @@ FsWatches:: {} /home/src/projects/project/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -230,7 +228,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/b/app.ts.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/app.ts.csproj @@ -284,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -334,12 +332,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/b/app.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -390,7 +388,7 @@ FsWatches:: {} /home/src/projects/project/c/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -418,7 +416,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/c/app.ts.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/app.ts.csproj @@ -439,12 +437,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/app.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -458,12 +456,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/c/app.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -499,7 +497,7 @@ FsWatches:: {} /home/src/projects/project/c/app.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -524,7 +522,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/c/app.ts.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/a/app.ts.csproj *deleted* @@ -565,12 +563,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -605,7 +603,7 @@ FsWatches:: {} /home/src/projects/project/c/app.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -624,7 +622,7 @@ ScriptInfos:: /home/src/projects/project/c/app.ts version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 aa6843c2d7bb7..84d4e58a78788 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library src/app.ts Matched by include pattern 'src/**/*' in 'tsconfig.json' @@ -165,8 +165,6 @@ 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* @@ -181,7 +179,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -199,7 +197,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -246,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -266,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -314,7 +312,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -338,7 +336,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 06cba08cb0334..09f79dc9a4bd9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -120,8 +120,6 @@ 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* @@ -136,7 +134,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -153,7 +151,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalproject -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 externalproject @@ -198,7 +196,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -215,7 +213,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalproject -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 externalproject @@ -260,7 +258,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} ScriptInfos:: @@ -273,7 +271,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalproject -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 externalproject @@ -292,13 +290,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/f1.ts /home/src/projects/project/a/b/f2.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/f1.ts Root file specified for compilation ../../../projects/project/a/b/f2.ts @@ -332,7 +330,7 @@ FsWatches:: {} /home/src/projects/project/a/b/f2.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -350,7 +348,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* externalproject *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 204eb634b617d..23e3bc5455a3d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file.ts Root file specified for compilation ^app.ts @@ -122,8 +122,6 @@ 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* @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/^app.ts: *new* {} @@ -145,7 +143,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9c1b8cd0c59ea..3e79074c43064 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -451,7 +449,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -498,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -527,7 +525,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d6e355f746957..4a81bd506704d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -393,7 +391,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -534,7 +532,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -577,7 +575,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 1b17e00aaab8f..59f28a89bfb1e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -461,7 +459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -504,7 +502,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 1b7690ad76617..8ba9bfa99cc90 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -382,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -430,7 +428,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -459,7 +457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b3ad998e79ca9..39cd6d82301f9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -418,7 +416,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -465,7 +463,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -494,7 +492,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 428b601f3a384..bfe90bbfb864d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -346,7 +344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -360,7 +358,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -501,7 +499,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -544,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 f1d219a67b3fb..632d6c01a561c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -428,7 +426,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -471,7 +469,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 4ff733c8d72d1..461bf122aae98 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -349,7 +347,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -397,7 +395,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -426,7 +424,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e30d06df575be..a05aa437d7745 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Logger.ts Matched by default include pattern '**/*' Imported via "./Logger" from file 'another.ts' @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/Logger.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -384,7 +382,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 6158aa41a8cf9..595661866c961 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -451,7 +449,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -498,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -527,7 +525,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4743242a47311..713b9ef34f10c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -393,7 +391,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -534,7 +532,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -577,7 +575,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 7cf7a0f0f9248..3b2ea1338e8f2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -461,7 +459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -504,7 +502,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 ee778b483a914..b0b1bea97fade 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -382,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -430,7 +428,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -459,7 +457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4f1d7cce04e6a..be3d759afb472 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +216,6 @@ 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* @@ -246,7 +244,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -280,7 +278,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -681,7 +679,7 @@ ScriptInfos:: version: SVC-1-1 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -703,7 +701,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -759,7 +757,7 @@ ScriptInfos:: version: SVC-1-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -824,7 +822,7 @@ ScriptInfos:: version: SVC-1-2 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -855,7 +853,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1247,7 +1245,7 @@ ScriptInfos:: version: SVC-1-3 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1269,7 +1267,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1367,7 +1365,7 @@ ScriptInfos:: version: SVC-1-4 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1398,7 +1396,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 66c34d1dd3dda..59ac76148f561 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -418,7 +416,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -465,7 +463,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -494,7 +492,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d361615b68dde..d0f1d667ef643 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -346,7 +344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -360,7 +358,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -501,7 +499,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -544,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 1a1c1ee6dd015..dc52c3a1e375d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -428,7 +426,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -471,7 +469,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 9923b8783ae8e..f559fcc60441a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -349,7 +347,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -397,7 +395,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -426,7 +424,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 76f3d1b97d7d1..2b734aac558a2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -465,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -512,7 +510,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -541,7 +539,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b2bcabf721d57..c12cec9dcac5a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -393,7 +391,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -548,7 +546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -591,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 (4) - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 33fca14c84ef3..f8f0925b3f9a4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -475,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -518,7 +516,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 d42e6d7cc2dc7..2697f9ceac2a6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -396,7 +394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -444,7 +442,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -473,7 +471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f2d4c1ec32504..f96a35fd580da 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -432,7 +430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -479,7 +477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -508,7 +506,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 78489e7d00643..a885d042e4c92 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -346,7 +344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -360,7 +358,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -515,7 +513,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -558,7 +556,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 bb3c63113ace3..11e34ac35eb25 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -442,7 +440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -485,7 +483,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 7a63e72208295..0ebe4d30fb5e0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -411,7 +409,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -440,7 +438,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d2ed9acb02862..faa67bd094e98 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -465,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -512,7 +510,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -541,7 +539,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dfef54d2f4319..8293a3042d62d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -393,7 +391,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -548,7 +546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -591,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 (4) - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 be0021fc1c13f..3c965cf0f56dd 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -475,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -518,7 +516,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 2507af6eaef61..95c0e9e9fa292 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -396,7 +394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -444,7 +442,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -473,7 +471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 207bd30a38669..37a55de47f279 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -432,7 +430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -479,7 +477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -508,7 +506,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ee6167e4e83ec..40d5c6ea2f498 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -346,7 +344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -360,7 +358,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -515,7 +513,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -558,7 +556,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 e2774e949373b..f899ed9b3f2a2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -442,7 +440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -485,7 +483,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 1f10f821983ba..358ff0393c6e1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -411,7 +409,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -440,7 +438,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d39ba3b9d7b7a..2db6c9bd0f529 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -465,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -512,7 +510,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -541,7 +539,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b148939faa1f7..89047660634bf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -379,7 +377,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -393,7 +391,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -548,7 +546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -591,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 (4) - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 56a6a9f36ccbc..0fd982ccb5193 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link/a.ts: {} @@ -320,7 +318,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -475,7 +473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -518,7 +516,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 25344c9d2a45c..85ad753e1b296 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -218,8 +218,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY/a.ts: *new* {} @@ -248,7 +246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -396,7 +394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -444,7 +442,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -473,7 +471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 af9d8df14ebfd..ef800f480e13b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/XY.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -432,7 +430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -479,7 +477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -508,7 +506,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8a9e33f8d190e..d8e09d766fd02 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -346,7 +344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -360,7 +358,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -515,7 +513,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -558,7 +556,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 86c852fe07a54..da01727c9823a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/link.ts: {} @@ -287,7 +285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -442,7 +440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -485,7 +483,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 8370d4408b5f0..73dc3964f5204 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -185,8 +185,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/XY.ts: *new* {} @@ -215,7 +213,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -411,7 +409,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -440,7 +438,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 449a2bfbcc2f3..1792b1a5915aa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' types/file2/index.d.ts @@ -210,8 +210,6 @@ 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* @@ -220,7 +218,7 @@ FsWatches:: {} /Users/username/dev/project/types/file2/index.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -244,7 +242,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /Users/username/dev/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 5c70e62261ad6..8e54641ae68ad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library Logger.ts Matched by default include pattern '**/*' Imported via "./Logger" from file 'another.ts' @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/another.ts: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -341,7 +339,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/Logger.ts: *new* {} @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -396,7 +394,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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();" @@ -428,7 +426,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/another.ts: {} @@ -452,7 +450,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -506,7 +504,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -520,7 +518,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -577,7 +575,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -617,7 +615,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 6ca8277b8c165..165eb6042b3cb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -80,8 +80,6 @@ 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* @@ -106,7 +104,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -120,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 98b5371c3d630..85eb3e3ae4ad9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js @@ -18,7 +18,6 @@ Info seq [hh:mm:ss:mss] request: "./*" ] }, - "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 160aea778bca9..db0f43a04021b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -14,7 +14,6 @@ Info seq [hh:mm:ss:mss] request: "moduleResolution": "node10", "noEmit": true, "baseUrl": "/home/src/workspaces/project/web", - "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 aa4c238456b14..7f4f2e8f8df71 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -18,7 +18,6 @@ Info seq [hh:mm:ss:mss] request: ] }, "outDir": "/home/src/workspaces/project/dist/packages/dep", - "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 d9faa85f40e22..b9d25065887a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -13,7 +13,6 @@ 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": "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 7ed5f244adb14..0e322e50d4355 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -13,7 +13,6 @@ 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": "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 8c1f69d5d470a..fa697d5032461 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -18,7 +18,6 @@ Info seq [hh:mm:ss:mss] request: "../common/dist/src/*" ] }, - "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 086481c78f54d..b55cabbe248c8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -13,7 +13,6 @@ 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": "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 03dea7dc0a34c..32b3610a76268 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -13,7 +13,6 @@ 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": "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 922e03da2b3ac..7a6c6d544696c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -13,7 +13,6 @@ 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": "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 969dc5ffd0f9d..bfad4a517e7dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -13,7 +13,6 @@ 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": "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 575c5bfed1113..e949d4deec582 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 3714bc1832b00..1541c6eb82c9d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 41bc0dca69cd6..a31e21cc48578 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 4af5dae2e8df9..72d5163f5bb92 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 02ac1f84e897b..dd64d0ce41a5b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 f98dcf6f7ca7b..c3d5ef148527c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 ee06fca141ec9..7ef107b448cc4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js @@ -16,7 +16,6 @@ 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": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js index 87314882ea2a7..0503cc81645bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 732e5cc1d8a13..fbb7072843bc1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 183c8b3acf9a4..6e8fbee38d20d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 17d1e3fd800f1..649fd65a71bf1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 a83419ff0c0c8..babb7136f26b1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 b7b8f7ddd4121..810e0d0f65e81 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 4e53213623157..bb2f729a35438 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es2019" ], - "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 10043fa857a69..f89e92357c71b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "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 957f157b69c53..d877ff51f48f8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "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 1ce578eec31bd..b8ef0776d6b45 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider9.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 4ef8b8e399e6e..5bb4f5f0b3c9b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "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 4fbee10105747..00605e834912e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -12,7 +12,6 @@ Info seq [hh:mm:ss:mss] request: ], "module": "commonjs", "moduleResolution": "node10", - "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 8dac8febe3bbc..4ab2d45032ad9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 1d0cb2a9af033..efb72efe62e43 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 5ef28326012a2..39b85b4137369 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 2c29aaefab817..8c8d7d097ab89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 6b3b9382161de..1142825f2fc38 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 83690f3a6b777..a5cb7b6cce663 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 cdc7e8b21d999..5376d5b1eb0b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 8459b6d3c8e1d..5166842995e89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -14,7 +14,6 @@ Info seq [hh:mm:ss:mss] request: "allowJs": true, "checkJs": true, "maxNodeModuleJsDepth": 2, - "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 691404ee6a66a..c7b7ac9b43ed9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 2ff8d060a90df..aee56997e8028 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 08b5d59447380..2c33f92f9db38 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 564cb1667d576..a732f7fdcdf83 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 97d11086dc902..32d80f379b93a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -14,7 +14,6 @@ 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": "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 9ec7651318d14..a15ead3d8069f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 fc5e57a37df0e..c15328942bc29 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 e8a779d75c68c..e4171becc20a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 792565ba76ca8..0ec02c575039f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 93b32983a3a80..2b2a71ea5597e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 9f88a0b00b228..c5a3dc481c5e8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -14,7 +14,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 12ba8d6e1d170..dbd85970565c1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 c269a5497665d..64a31aaa94a67 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 7250749c612cc..943678e9b1634 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 f4c0d03805497..625365b1e88c5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/brace01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/brace01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 7893346e70529..c53d7e1681277 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 1ccdaf1eea19b..5349e72267f54 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 a5a63911b3688..6dffbd00410ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 0ae46c081809c..0f9d7a95f05bf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 d7ad56c1bfc3e..fb46272e57f5d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions02.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 1d5f7d225a9b1..3ee9ac9ceb60b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions03.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 ca88403139f24..21c6124fb2974 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 079773c199684..61536421eb4b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 99abf2b1a4d82..ff58bfadef07d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 0e44503e91bf2..cbdf4893978e3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -12,7 +12,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 ba932ad390734..9105daceedcdf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 2bfe886f6dc3e..f9b553034a444 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 4c9e9f9b8f5ce..426b9b1a03311 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 4f63338861cee..0d4593b868b1d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 7fd0f0be3e50f..4ae3f2fe4194b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -16,7 +16,6 @@ Info seq [hh:mm:ss:mss] request: "message": "configured error" } ], - "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 4e5259316aed1..a7de21d848cb6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 3608cb4b1df50..3062e96cdeb6f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 6646e62219fae..c924909f4a1e3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 8f32add101a43..b03240d25f5f0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 7bc7acc038ca9..971239bc8971b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "declarationMap": true, "outFile": "/tests/cases/fourslash/server/buttonClass/Source.js", - "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 5132f31179866..4fed0ae24fd11 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 f6aab0141d901..207915d1ae134 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/definition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/definition01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 6a27faf8415c3..1e53881927cec 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 2976372845fcd..db14a09c1a619 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 1c627c7fb1f88..2496a68604a94 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 aa42eac3fcb7c..86e106b90e5d5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js +++ b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 5b1c40ced32e0..9f9c589cd59f5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/format01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/format01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 bee6448eea80b..5ff084f838278 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 4e652d0abc23b..d5389aeb87dbe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 36f19bb9b735b..0911989397ac5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 7c011c2c2bcd1..87f19a6b8dc5e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatTrimRemainingRange.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatTrimRemainingRange.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 c9ba70ed9ae09..7279e7b727fe1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 6b9634dcbb44e..03eb9cc83c3b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 dadf6723f9d3d..4acb91da56610 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 e6bbd9c8c52c4..9bedb11669219 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "../shared/src/*" ] }, - "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 ffb791d07f13a..43b5039f6f47f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 3dfef3c0be34e..ccc8618028959 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 e025567845e45..bb438052109ab 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 76790f2fd474b..fbb4e01ef781b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 4ea37af84a042..f878310ae9139 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 60805d3a56659..7deec3af4866d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 eeadeb23364b4..e8748bd97d5f5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 635a09d211421..4854bf5351887 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 11976865a5ed2..898e4551a3259 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 13db256d23072..ef163cc835c6d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 f4087d921cf84..2c3e9016cb409 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "strict": true, "outDir": "/home/src/workspaces/project/out", - "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 96b2b2f5c50d6..506b9a092d2ee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 d993af65958e8..d5d8c9e34a2ca 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -12,7 +12,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 f2a560f594e30..0066e5455ec4a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 9d1c9ebbe7f7b..a7ca6e52d8842 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 fdbbaa31f042a..0573701453e9d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 8e0ed5b9ab4e7..cdf1747af197c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 620f9f10d893b..90a579c02df3b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 d0a6377685048..9cdb4c7727e77 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 2913e9e4e03ec..0272073593035 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 4d0aa672378c7..ea5ebcb6b4237 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 45edef50857be..080d712cd1c53 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 8540147065f73..af350f2706bde 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 1dd823fca06ee..4e02beea11b80 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 c74a61b9661a1..fc9863f2f08df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 e64e371e28959..449e6b9c51e8f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 42efd13a2f81c..62a510a05a7f7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap1.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 23fb5dffd86ea..ccbeeaf3be1d5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap2.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 7a00b8a3aa1ef..1a150bfcd1b5f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap3.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 085fa7eae2526..3160d77c59ebe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap4.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: ], "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 03e916ffdf0e5..07f3e7db9701f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importCompletions_importsMap5.js @@ -14,7 +14,6 @@ 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": "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 3f8d1f3a488d4..8759cb8cc65ea 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 5cb8bbadc9fdb..3032b2ee77875 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -16,7 +16,6 @@ Info seq [hh:mm:ss:mss] request: "../../shared/*" ] }, - "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 16a1fc213b2a4..6c20ff4c3f77f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -22,7 +22,6 @@ 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": "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 4734f1e37d855..0c7687dfcad28 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 e2ac67f6adddb..b4c33d5a10318 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 c6efad4cc602c..5b0519e5f3f3d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 d0379374f0b3a..0d416aa1aa599 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 6db94f95d37ed..043b2da529f6e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -16,7 +16,6 @@ Info seq [hh:mm:ss:mss] request: "typeRoots": [ "/home/src/workspaces/project/node_modules/@types" ], - "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 eb60cfe230023..5f60a21903d8c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 2fd2482fb93c2..7a79ee6f956c7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -16,7 +16,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "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 adc276074fd84..5897310995e3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 8874fad70a544..642fe8e98bf5f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 0ce8cac435814..213de4d37e031 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 0f194b5f996da..c49b8bc393cb5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 0a1cb95a8b8c2..93921095836b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 25c97cdd035d7..7d1360c06964f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 869c2a8082131..28331574010d3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 bf506292918ed..1b4ad9135c991 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 19b4cab207f83..8497354f559c3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 3ceea6b4034d1..6d77d90098ce8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 603c36c80c2b7..d0e647e4a664e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 25b0d8cfb1883..7583149883019 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 93a02f25a740d..ae0a83e558e9e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 e46f10f65ab19..a25fd502d6022 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 da5fa95aa2676..2b3cdf381f2d3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 55b2755076a2a..ae80d6ea1dc44 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 39fe0a3462f2e..a4baf3dd9499e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 b07ac13313227..caf4b40ba1742 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/moveToFile_emptyTargetFile.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "es5" ], - "target": "es2024", "skipDefaultLibCheck": true } }, diff --git a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js index 051fde94c2dab..36dac7bbdc31a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 275c2cc7a8673..673b172bc1e07 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 a111bcfd41a61..fcc1f17d8fa3a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto_serverExcludeLib.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 8162bb87ed6dc..84c5d55657af0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -16,7 +16,6 @@ Info seq [hh:mm:ss:mss] request: "message": "hello world" } ], - "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 019d0d9073679..868bd49c5a5b8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "name": "invalidmodulename" } ], - "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 7fef6ef197c2e..ad416031ad10c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "name": "create-thrower" } ], - "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 2763669bbf396..16b99c3067ee9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "name": "diagnostic-adder" } ], - "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 00155f750b811..f99373e00e3fb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "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 0933fb60d691f..2ba8d47e0aaf9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 fc51fc1f4f90f..03ac9ea837d60 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 ff13b30ffda13..48b2a16b0a7a0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 a290ae358d819..6373ca03a3e39 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFile.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 ccc5e70a0c48a..7662a53ac5494 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 84c3a9e6a48df..db0df13241374 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/packageJsonImportsFailedLookups.js +++ b/tests/baselines/reference/tsserver/fourslashServer/packageJsonImportsFailedLookups.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "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 57405b741792e..539cb15dd4758 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_addInNextLine.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 0c15c2bc49432..cdda475e531e7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 f23a6fef2da3f..d8028e657bb6b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 4a0f7975d2c24..77ac80918753c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultExport2.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 f396c8eeb10f8..3ca84e2424f28 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_defaultImport.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "nodenext", - "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 1fdb7028d7e3c..01ed935e014c2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 e6ceb46e9c3cf..4000701c6e7d9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 0fa75f93cf58d..619a6f470a356 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 8302c2d7ca188..e2fcbc792bc7a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_globalAndLocal2.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 9048fcf25d952..fed38d05e8f84 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 3cfee669b3cc3..fe2d2e7604a9b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 b3ebf986cacb8..51d1579183ff7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 c6dea6de57b94..b177f7e49b0a3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 161491d735896..d62d0359c07ba 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 5e96a702aa215..7c915e660857f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlyLargerInSize.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 c2080143ae91f..f2afcbc31e900 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesConsistentlySmallerInSize.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 560574d22a85d..1c417f0748004 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesEqualInSize.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 9c6ab6c9f9eae..57ead70222a27 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingAndShrinkingInSize.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 41b3f997e435a..a21723e7b765a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesGrowingInSize.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 ec79a9971db91..55dbcd50a83f8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastesShrinkingInSize.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 34413c384e893..24ffa07db6917 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_namespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_namespaceImport.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 6efc33559e9b5..0e9a7cf6606bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeeded.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 6307710df3a0b..ffbcda1103357 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_noImportNeededInUpdatedProgram.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 30e0114dad8db..21c72e0c70e74 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 c7f47e8ae9f85..8b0c390cfee4b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 bcf146a16714f..703a3b7d18def 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection0.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection0.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 e81035ebb3f95..2e641d417d0dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection1.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 cfdbaaa47aee5..fc5af09d87156 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection2.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 00729d5b346a6..a9088e0e01514 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection3.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 a0613af361bf7..bee8cff3cf83a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection4.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 1d64ca4faa309..8875e1d4ca43e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection5.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 d3bd3ceab2b21..1006cf2d7fd3d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection6.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 15ab5e5368a92..41b850642b103 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection7.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 ef88bfbf5944d..a1ec982d5e18c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection8.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 2b6694e9427bc..61fa2a25f1cf5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_rangeSelection9.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 9b72d9ad8350c..eba26f58c798e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_requireImportJsx.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_requireImportJsx.js @@ -11,7 +11,6 @@ Info seq [hh:mm:ss:mss] request: "es5" ], "module": "commonjs", - "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 d56ff5c93e26c..8b6d6d16a8d1e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 59f36ce6e5c8d..3f30b0b5d3f4b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 218c8e4ff6b42..c41a20616ae59 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard1.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 92893bc81e2cb..1831f9d67e65d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard2.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 8df30031b01cc..35a8c80a202d7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard3.js @@ -14,7 +14,6 @@ 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": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js index 92eab6357b27b..3f629d243dd65 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard4.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 86a2d126d33b5..32cbf264e2fe2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard5.js @@ -14,7 +14,6 @@ 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": "es2024", "newLine": "crlf", "skipDefaultLibCheck": true } diff --git a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js index 363c6eb93e57e..69bd885cc1ddb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard6.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 7c4cf407a23d5..3274d8a087301 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard7.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 7c4cf407a23d5..3274d8a087301 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard8.js @@ -13,7 +13,6 @@ Info seq [hh:mm:ss:mss] request: "module": "nodenext", "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", - "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 4380cf71b5608..858aae06f1c47 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pathCompletionsPackageJsonImportsSrcNoDistWildcard9.js @@ -14,7 +14,6 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/home/src/workspaces/project/src", "outDir": "/home/src/workspaces/project/dist", "allowJs": true, - "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 bdf7c89d20b21..75806f994e200 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 5bc986077b9bd..7d186efebecd3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 a74b4136ce2e1..acfd3615e59ce 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 97d70b7be2d37..33b4fc7e84165 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 21854cd737d10..16c56f7438472 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoVerbosityServer.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 35866e90f024e..e3d2eec1b8147 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 cce559441c28b..487aafed97249 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 468f053a07c72..496825031649e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/references01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/references01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 a009c491711b1..2ecc781c376d2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 8de7c0789d7ce..4ec355e4ae134 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 ca209e36a878a..8fc4f9c2dd8dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 a74a8ccbcc27b..ac4ec679041a1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 5fafc1ddab95d..ea34fe33937fe 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 180794c435830..66214068f010c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 3a6f97eac47b6..eebc5137c9ecf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rename01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 40982c69f6750..8a96443162fac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 b4c5c5883f66e..a1a9e762e2be1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 968caa83613ff..00a0e4cbb5e47 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 23d5c6a61d32f..9448c5084dda6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences1.js @@ -15,7 +15,6 @@ 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": "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 4306a4821caa4..5ec55c6ead8de 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences2.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "rootDir": "/tests/cases/fourslash/server/src", "outDir": "/tests/cases/fourslash/server/dist", "rewriteRelativeImportExtensions": true, - "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 e5e4b8304feb0..761d8da99ad17 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rewriteRelativeImportExtensionsProjectReferences3.js @@ -15,7 +15,6 @@ Info seq [hh:mm:ss:mss] request: "rewriteRelativeImportExtensions": true, "rootDir": "/tests/cases/fourslash/server/src/services", "outDir": "/tests/cases/fourslash/server/dist/services", - "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 dbe15c4a935d7..a558dd7689a88 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 fca42784282e6..5dc4c4f6d2a63 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 92d6747176936..74a036fa44c8b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 1e19c746bd316..6022f7bc9319e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -14,7 +14,6 @@ Info seq [hh:mm:ss:mss] request: "declaration": true, "strict": true, "outDir": "/home/src/workspaces/project/out", - "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 eee3a214feea0..69e23269a2dbb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -10,7 +10,6 @@ Info seq [hh:mm:ss:mss] request: "lib": [ "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 60fa67aa8c2b6..5f728bce696f0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 03c457c70c109..ae369b8526122 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 b9cadcf7d344e..c231eee94a985 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js @@ -7,7 +7,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "options": { - "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 db4c87b76cd06..2c8e04e763f28 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -74,8 +74,6 @@ 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 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -102,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 6d152d4fd38be..51444cbfda84f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -83,8 +83,6 @@ 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* @@ -97,7 +95,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -111,7 +109,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 341e0f979981c..38d9aecf95b2c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -72,8 +72,6 @@ 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 +84,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 36ef7fa17d701..dd22af692d563 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -72,8 +72,6 @@ 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 +84,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 20f659577b046..950d0c49678ce 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -191,8 +191,6 @@ 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* @@ -209,7 +207,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -223,7 +221,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -286,12 +284,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library c.ts Root file specified for compilation @@ -339,7 +337,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -361,7 +359,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json @@ -424,13 +422,13 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false ScriptInfos:: @@ -442,7 +440,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 cd6b4b5ed399b..90eb99a1cbaaf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library old.ts Part of 'files' list in tsconfig.json Imported via "./old" from file 'user.ts' @@ -175,8 +175,6 @@ 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 +189,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -209,7 +207,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -258,13 +256,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/old.ts Imported via "../a/old" from file 'user.ts' user.ts @@ -375,7 +373,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -406,7 +404,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/a/tsconfig.json @@ -485,13 +483,13 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.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.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* autoImportProviderHost: false ScriptInfos:: @@ -508,7 +506,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9450988c33339..9510ce38dec48 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -249,14 +249,12 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -281,7 +279,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -433,13 +431,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -468,8 +466,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -518,7 +516,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -564,7 +562,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -575,7 +573,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -625,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -665,7 +663,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -761,7 +759,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cb9f869df5f9c..a5cc192395969 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -253,16 +253,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/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.es2024.full.d.ts: *new* - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -338,8 +336,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/myproject/src/old.ts: @@ -363,7 +361,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -458,7 +456,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -557,13 +555,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -595,8 +593,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -640,7 +638,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -686,7 +684,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -697,7 +695,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -748,8 +746,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -788,7 +786,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -884,7 +882,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 357f2a0682b8e..fdd893cc1b8e1 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -249,14 +249,12 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -281,7 +279,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -397,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -432,8 +430,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -479,7 +477,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -525,7 +523,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -536,7 +534,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -586,8 +584,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -626,7 +624,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -755,7 +753,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b38d6730c6514..79ee552de2c24 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -253,16 +253,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/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.es2024.full.d.ts: *new* - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -338,8 +336,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/myproject/src/old.ts: @@ -363,7 +361,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -427,7 +425,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -526,13 +524,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -564,8 +562,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -609,7 +607,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -655,7 +653,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -666,7 +664,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -717,8 +715,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -757,7 +755,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -886,7 +884,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b5911d17119ee..cb148c4092d89 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -249,14 +249,12 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -281,7 +279,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -397,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -432,8 +430,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -479,7 +477,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -525,7 +523,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -536,7 +534,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -623,8 +621,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -657,7 +655,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -753,7 +751,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e3f96764b9efe..d91e2a81abbba 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":4,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/old.ts Imported via '@/old' from file 'src/index.ts' Matched by default include pattern '**/*' @@ -253,16 +253,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/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.es2024.full.d.ts: *new* - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatchesRecursive:: /home/src/projects/myproject: *new* @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -338,8 +336,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/myproject/src/old.ts: @@ -363,7 +361,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -427,7 +425,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -526,13 +524,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' src/new.ts @@ -564,8 +562,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -609,7 +607,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/myproject/tsconfig.json @@ -655,7 +653,7 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 2 documentPositionMappers: 1 *changed* - /home/src/tslibs/ts/lib/lib.es2024.full.d.ts: identitySourceMapConsumer *new* + /home/src/tslibs/ts/lib/lib.d.ts: identitySourceMapConsumer *new* ScriptInfos:: /home/src/projects/myproject/src/index.ts (Open) @@ -666,7 +664,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/myproject/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* containingProjects: 1 @@ -754,8 +752,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.es2024.full.d.ts: - {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":4,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -788,7 +786,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 sourceMapFilePath: false containingProjects: 1 @@ -884,7 +882,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3a0c25d753f64..439733b302b91 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,8 +168,6 @@ 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* @@ -182,7 +180,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +202,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -271,7 +269,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 96ae676134099..37da73858b3a4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,8 +168,6 @@ 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* @@ -182,7 +180,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +202,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -271,7 +269,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a9c68eac1e708..bed761558ec80 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,8 +168,6 @@ 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* @@ -182,7 +180,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +202,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -271,7 +269,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b182596e7b9ed..83352239a1867 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,8 +168,6 @@ 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* @@ -182,7 +180,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +202,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -271,7 +269,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 477461fe1ad47..d67f0357b4b9a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library mod.ts Imported via "./mod" from file 'main.ts' Matched by default include pattern '**/*' @@ -168,8 +168,6 @@ 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* @@ -182,7 +180,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -204,7 +202,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -250,7 +248,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -271,7 +269,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ed632b66fb693..8a05ccee195d7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' Imported via "./a" from file 'b.ts' @@ -184,8 +184,6 @@ 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* @@ -202,7 +200,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -232,7 +230,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -282,7 +280,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -311,7 +309,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -361,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -390,7 +388,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -440,7 +438,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -469,7 +467,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c11a1908d92eb..78e5a683fbc2a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' Imported via "./a" from file 'b.ts' @@ -184,8 +184,6 @@ 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* @@ -202,7 +200,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -232,7 +230,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -282,7 +280,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -311,7 +309,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -361,7 +359,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -390,7 +388,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -440,7 +438,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -469,7 +467,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d469967f7c735..6996edd15b9ab 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library foo.js Part of 'files' list in tsconfig.json bar.jsx @@ -188,8 +188,6 @@ 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* @@ -202,7 +200,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -220,7 +218,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 1ed10a021c744..95bbb0a66153a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library foo.ts Part of 'files' list in tsconfig.json bar.tsx @@ -182,8 +182,6 @@ 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* @@ -196,7 +194,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -214,7 +212,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 cd8bbe35a00ce..5716f681a0ce5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library file1.d.ts Part of 'files' list in tsconfig.json a/lib.d.ts @@ -184,8 +184,6 @@ 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* @@ -202,7 +200,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -228,7 +226,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c8baed792dd3c..ef6d66b495205 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library file1.js Part of 'files' list in tsconfig.json file2.js @@ -209,8 +209,6 @@ 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* @@ -229,7 +227,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -259,7 +257,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 2978abdcf8db3..2b283cc238c7c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Part of 'files' list in tsconfig.json file2.tsx @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -282,7 +280,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a912615ae99ef..d9c97e4ead440 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a/file1.ts Matched by default include pattern '**/*' node_modules/@types/node/someFile.d.ts @@ -213,8 +213,6 @@ 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* @@ -243,7 +241,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -285,7 +283,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 33b5200b574c0..154f68f2f169b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/type.ts Imported via "./type" from file 'project/file1.ts' Imported via "./type" from file 'project/file2.ts' @@ -190,19 +190,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -213,7 +211,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/workspace/projects/project/file1.ts: *new* {} @@ -238,7 +236,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/workspace/projects/tsconfig.json @@ -283,11 +281,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", "/user/username/workspace/projects/file3.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -337,7 +335,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -361,7 +359,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -411,7 +409,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace/projects/project/file1.ts: {} @@ -497,14 +495,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library type.ts Imported via "./type" from file 'file1.ts' Imported via "./type" from file 'file2.ts' @@ -581,14 +579,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library project/type.ts Imported via "./type" from file 'project/file1.ts' Imported via "./type" from file 'project/file2.ts' @@ -650,7 +648,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/workspace: *new* {} @@ -691,7 +689,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -856,7 +854,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 e0eaa743b47e7..621899b622201 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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,8 +130,6 @@ 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* @@ -150,7 +148,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -167,7 +165,7 @@ p (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 8ff3c810221e3..6774967e66200 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^/untitled/ts-nul-authority/Untitled-1 Root file specified for compilation @@ -68,11 +68,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 8bff352952805..92e89024b56bf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^/untitled/ts-nul-authority/Untitled-1 Root file specified for compilation @@ -68,11 +68,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f61266501b7d2..85097af997506 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library unrelated.ts Root file specified for compilation @@ -79,8 +79,6 @@ 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* @@ -93,7 +91,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -103,7 +101,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -142,12 +140,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -193,7 +191,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -211,7 +209,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -273,7 +271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -295,7 +293,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b501dd24e6c5c..1e81a34483819 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module.d.ts Imported via "./module" from file 'app.ts' app.ts @@ -84,8 +84,6 @@ 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* @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -112,7 +110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c1169fcc6d918..a8daf86e666b7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -91,8 +91,6 @@ 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* @@ -117,7 +115,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -133,7 +131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -163,12 +161,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library mod.ts Root file specified for compilation @@ -210,7 +208,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -284,13 +282,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../mod.ts Imported via "mod" from file 'app.ts' app.ts @@ -302,7 +300,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -383,7 +381,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b: {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b1a38cdd82b2f..e26fa4030cffe 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.es2024.full.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] 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,19 +47,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -78,7 +76,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -87,7 +85,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -119,11 +117,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", "/user/username/projects/project/a/file1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -173,7 +171,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -197,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -251,7 +249,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 936f2e6ebf8c8..8f78c2bb5af05 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -154,19 +154,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -177,7 +175,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/app.ts: *new* {} @@ -198,7 +196,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -235,11 +233,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", "/user/username/projects/myproject/jsFile1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -289,7 +287,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -313,7 +311,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -363,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app.ts: {} @@ -431,7 +429,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app.ts: {} @@ -457,7 +455,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -503,12 +501,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library jsFile2.js Root file specified for compilation @@ -517,11 +515,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", "/user/username/projects/myproject/jsFile2.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -562,7 +560,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -586,7 +584,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -637,7 +635,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/app.ts: {} @@ -665,7 +663,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -717,12 +715,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library jsFile1.js Root file specified for compilation @@ -731,11 +729,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/myproject/jsFile1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -784,7 +782,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -808,7 +806,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -865,7 +863,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -895,132 +893,17 @@ 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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/app.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -1039,10 +922,6 @@ 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 @@ -1050,39 +929,18 @@ 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/inferredProject3* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", "request_seq": 5, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } + "success": true } 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: @@ -1095,12 +953,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: {} @@ -1116,10 +974,6 @@ 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 @@ -1127,16 +981,12 @@ Projects:: noOpenRef: true ScriptInfos:: -/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* +/home/src/tslibs/TS/Lib/lib.d.ts (Open) *changed* + open: true *changed* version: Text-1 - containingProjects: 3 *changed* - /dev/null/inferredProject1* + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* /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 aab425bccfb6f..6b23ef5c46fb8 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.es2024.full.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] 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,19 +65,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -90,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -99,7 +97,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -131,7 +129,7 @@ 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", "/user/username/projects/project/compile" ], "compilerOptions": { @@ -251,7 +249,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 5ba5b7a5ef05d..f4a466d2b9273 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a/b/main.ts Root file specified for compilation @@ -78,8 +78,6 @@ 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* @@ -96,7 +94,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -106,7 +104,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -133,13 +131,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a/b/main.ts Root file specified for compilation ../../../../../user/username/projects/myproject/a/c/main.ts @@ -187,7 +185,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -228,14 +226,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a/b/main.ts Root file specified for compilation ../../../../../user/username/projects/myproject/a/c/main.ts @@ -291,7 +289,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -300,7 +298,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -361,7 +359,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/b/tsconfig.json: *new* {} @@ -494,13 +492,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a/c/main.ts Root file specified for compilation ../../../../../user/username/projects/myproject/a/d/main.ts @@ -572,7 +570,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /home/src/tslibs/TS/Lib/lib.es6.d.ts: *new* {} @@ -589,7 +587,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d8854f313f78c..4cab84c1ad747 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module2.d.ts Imported via "./module2" from file 'module.d.ts' node_modules/module3/index.d.ts @@ -115,8 +115,6 @@ 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* @@ -129,7 +127,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -153,7 +151,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -216,7 +214,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -244,7 +242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -308,14 +306,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module2.d.ts Imported via "./module2" from file 'module.d.ts' node_modules/module3/index.d.ts @@ -337,7 +335,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -373,7 +371,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -417,12 +415,12 @@ 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", "/user/username/projects/myproject/module2.d.ts", "/user/username/projects/myproject/module.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -478,7 +476,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -501,7 +499,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -546,7 +544,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -571,7 +569,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5bbea88447972..da24f0c79438e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' commonFile1.ts @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile1.ts: *new* {} @@ -202,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -315,7 +313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -349,7 +347,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -425,7 +423,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -459,7 +457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 be5c1e38228a6..af59b8d52c7d3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d130732a5ef2a..7589b4493c9cf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 79bf019ff2094..0186655f709d4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 bbc87abcef2fd..0e53e3350e38a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f8a91e8e5369d..75665194f2b03 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 bdf242650d005..684c5caa1b6a1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -207,8 +207,6 @@ 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* @@ -221,7 +219,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -235,7 +233,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 950dcf2f6735f..838621b27f5a5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 3c0465a4d7b02..cb3cee2ce85fa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -207,8 +207,6 @@ 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* @@ -221,7 +219,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -235,7 +233,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e6565bd93be6b..281a03587b7b5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 01f734f5d285d..947dc9aca6a0c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -207,8 +207,6 @@ 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* @@ -221,7 +219,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -235,7 +233,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 faa793f62730b..e50f754e61e90 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7573f7dc7764a..41c903c4c8f1c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -207,8 +207,6 @@ 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* @@ -221,7 +219,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -235,7 +233,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 8635b83c8c73f..a1ccf3672f393 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 29128658aad6a..889e102e5515d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 27edcd534cf3f..4fd7b464aa8db 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 070ea3dddb9f6..b2cff6b82caf5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library someFile1.js Part of 'files' list in tsconfig.json @@ -208,8 +208,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -236,7 +234,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a4faf96fd5b01..7d74cc14f895f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library foo.d.ts Imported via "foo" from file '../shared.ts' Part of 'files' list in tsconfig.json @@ -191,8 +191,6 @@ 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* @@ -209,7 +207,7 @@ FsWatches:: {} /home/src/projects/project/shared.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -231,7 +229,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -286,14 +284,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library foo.d.ts Imported via "foo" from file '../shared.ts' Part of 'files' list in tsconfig.json @@ -413,7 +411,7 @@ FsWatches:: {} /home/src/projects/project/shared.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -448,7 +446,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.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e08a91e4eb8cd..b211c0df56bd3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -72,8 +72,6 @@ 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 +84,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/lib/lib.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 f52e3d8310d9c..34844835e76c5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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,8 +95,6 @@ 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* @@ -127,7 +125,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -142,7 +140,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -186,11 +184,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", "/user/username/projects/project1/src/file1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -255,7 +253,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -283,7 +281,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 a75172d47ca96..1102ad975a623 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library node_modules/test/index.js Imported via "test" from file 'file1.js' file1.js @@ -74,8 +74,6 @@ 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* @@ -102,7 +100,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -123,7 +121,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -151,11 +149,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", "/home/src/projects/project/file1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -214,7 +212,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -240,7 +238,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -301,7 +299,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 95781f1edae6d..3e6c32348e628 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/file1.ts Root file specified for compilation @@ -71,8 +71,6 @@ 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* @@ -81,7 +79,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -95,7 +93,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -117,13 +115,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/file1.ts Root file specified for compilation ../../../projects/project/file2.js @@ -167,7 +165,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -211,7 +209,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/file2.js: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -230,7 +228,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3a9b13ba33692..6a46f146fbbde 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -175,8 +175,6 @@ 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 +185,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -205,7 +203,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a080911d7292a..4ffd40bd0ca9b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -175,8 +175,6 @@ 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 +185,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -205,7 +203,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e27d84346a877..8ddb1fe4e3106 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -175,8 +175,6 @@ 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 +185,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -205,7 +203,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 967d97bbb2276..35767126815a0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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,8 +510,6 @@ 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* @@ -542,7 +540,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -568,7 +566,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -885,7 +883,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1221,7 +1219,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1567,7 +1565,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1892,7 +1890,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -2207,15 +2205,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -2281,7 +2279,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -2539,7 +2537,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -2547,8 +2545,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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -2623,7 +2621,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -2657,7 +2655,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -2950,15 +2948,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -3029,7 +3027,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -3063,7 +3061,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -3345,14 +3343,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 @@ -3418,7 +3416,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -3630,7 +3628,7 @@ ScriptInfos:: /home/src/projects/project/node_modules/foo2/index.d.ts version: Text-1 containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -3760,7 +3758,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -4012,7 +4010,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* deferredDelete: true *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -4122,7 +4120,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -4376,7 +4374,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: true containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -4494,7 +4492,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -4747,7 +4745,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -4844,7 +4842,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 63bba3d442b56..91c3e4a488f43 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7e7f3981d4981..c4c75d422d3b3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6af934e0025fe..e5c4a0c06c9de 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1055,7 +1053,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1064,8 +1062,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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -1152,7 +1150,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1201,7 +1199,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 90368c701fa56..c5718e0506237 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 697668894424b..39d2881ec87b4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d266f29ed9441..00f50d04d74fb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1081,7 +1079,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 50d7714b7a762..d4683786ceb4c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1082,7 +1080,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -1092,15 +1090,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 e0f4d22ff5207..e21f8f7155529 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src' in 'tsconfig.json' src/ambient.d.ts @@ -220,8 +220,6 @@ 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 +242,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -287,7 +285,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -347,7 +345,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -386,7 +384,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -485,7 +483,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 24cf58acd6be3..0d3c1dc0f0d03 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -199,8 +199,6 @@ 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* @@ -215,7 +213,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -238,7 +236,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -395,13 +393,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via "../a" from file 'index.ts' index.ts @@ -519,7 +517,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -552,7 +550,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 741162281437d..12c53cda160ab 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -179,8 +179,6 @@ 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 +191,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -211,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -271,13 +269,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via "../a" from file 'index.ts' index.ts @@ -391,7 +389,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -420,7 +418,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ab967dd568422..ab206827559fb 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.es2024.full.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] 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,19 +74,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -101,7 +99,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -118,7 +116,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json @@ -146,7 +144,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { @@ -344,7 +342,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 737b554b3d180..d059db4e30002 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.es2024.full.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] 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,19 +75,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -102,7 +100,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -119,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/jsconfig.json @@ -147,7 +145,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { @@ -345,7 +343,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 8933afee366e9..5fd9740354a9b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -83,8 +83,6 @@ 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* @@ -109,7 +107,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -123,7 +121,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 b9922caf8b2c9..583cd233725a0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by default include pattern '**/*' @@ -157,8 +157,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/someuser/projects/myproject/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/myproject/tsconfig.json @@ -209,7 +207,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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] ----------------------------------------------- @@ -240,7 +238,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f2e7347e0be48..0a9666f311bcf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -163,8 +163,6 @@ 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* @@ -177,7 +175,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -199,7 +197,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -222,7 +220,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -258,7 +256,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -285,7 +283,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -337,7 +335,7 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -346,7 +344,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -398,7 +396,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -423,7 +421,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -432,7 +430,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -469,7 +467,7 @@ ScriptInfos:: pendingReloadFromDisk: true containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -479,7 +477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -532,7 +530,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4640f69d9b610..2840bfd46e3c0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -163,8 +163,6 @@ 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* @@ -177,7 +175,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -199,7 +197,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -266,7 +264,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -318,7 +316,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -327,7 +325,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -379,7 +377,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -396,7 +394,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -436,7 +434,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -446,7 +444,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -499,7 +497,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 30b46990289f2..d97b14d769199 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -163,8 +163,6 @@ 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* @@ -177,7 +175,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -199,7 +197,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -266,7 +264,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -318,7 +316,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -327,7 +325,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -386,7 +384,7 @@ ScriptInfos:: version: SVC-2-1 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -395,7 +393,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -450,7 +448,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -475,7 +473,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -510,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: 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -563,7 +561,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 894356df3cc66..fd10e5e29cca6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -163,8 +163,6 @@ 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* @@ -177,7 +175,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -199,7 +197,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -266,7 +264,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -318,7 +316,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -327,7 +325,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -386,7 +384,7 @@ ScriptInfos:: version: SVC-2-1 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -395,7 +393,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -447,7 +445,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -472,7 +470,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -481,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: 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -518,7 +516,7 @@ ScriptInfos:: pendingReloadFromDisk: true containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -528,7 +526,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -581,7 +579,7 @@ ScriptInfos:: pendingReloadFromDisk: false *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a79369e1efb5e..6766751473b65 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library lib/module2.ts Matched by default include pattern '**/*' src/app.ts @@ -171,8 +171,6 @@ 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 +187,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -211,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -260,7 +258,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -284,7 +282,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -335,7 +333,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -363,7 +361,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -412,7 +410,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -436,7 +434,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -487,7 +485,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -515,7 +513,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -564,7 +562,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -588,7 +586,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -639,7 +637,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -667,7 +665,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -716,7 +714,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -740,7 +738,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -791,7 +789,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -819,7 +817,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -868,7 +866,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -892,7 +890,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -943,7 +941,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -971,7 +969,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -1020,7 +1018,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1044,7 +1042,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ac71ad5a78716..b582af999c378 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library src/app.ts Matched by default include pattern '**/*' @@ -166,8 +166,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -200,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -247,7 +245,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -267,7 +265,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -316,7 +314,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -340,7 +338,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -387,7 +385,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -407,7 +405,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -456,7 +454,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -480,7 +478,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -527,7 +525,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -547,7 +545,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -598,13 +596,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library B/lib/module2.ts Matched by default include pattern '**/*' b/src/app.ts @@ -675,12 +673,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/src/app.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library src/app.ts Matched by default include pattern '**/*' @@ -733,7 +731,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -770,7 +768,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.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/a/tsconfig.json *new* @@ -818,7 +816,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -842,7 +840,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -891,7 +889,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -919,7 +917,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -966,7 +964,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -990,7 +988,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -1012,13 +1010,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/B/lib/module2.ts /home/src/projects/project/a/b/src/app.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library B/lib/module2.ts Matched by default include pattern '**/*' b/src/app.ts @@ -1035,7 +1033,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.es2024.full.d.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] 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: @@ -1064,7 +1062,7 @@ FsWatches *deleted*:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive *deleted*:: @@ -1089,7 +1087,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 0 *changed* /home/src/projects/project/a/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *deleted* +/home/src/tslibs/TS/Lib/lib.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 737dff03f31f8..36201718c23d0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/app.ts Root file specified for compilation @@ -110,8 +110,6 @@ 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* @@ -124,7 +122,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -137,7 +135,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 externalProject -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 externalProject @@ -159,7 +157,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -192,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -210,7 +208,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 externalProject *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a8ff72c22dead..a18ff27a8ef8d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/someuser/projects/myproject/tsconfig.json: *new* {} @@ -182,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/someuser/projects/myproject/tsconfig.json @@ -229,13 +227,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by default include pattern '**/*' src/b.ts @@ -278,7 +276,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 deba41c1a0666..b173559dbe3f1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file.ts Root file specified for compilation @@ -84,8 +84,6 @@ 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* @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -108,7 +106,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -249,7 +247,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -284,7 +282,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -420,7 +418,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -455,7 +453,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 6becaab4a85b3..53bbd6265c8dc 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.es2024.full.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] 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,19 +140,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -165,7 +163,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -186,7 +184,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -214,11 +212,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -267,7 +265,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -290,7 +288,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -341,7 +339,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -399,7 +397,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 2dd0f55231219..38e224eb1bcd7 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.es2024.full.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] 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,19 +156,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -181,7 +179,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +200,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -230,11 +228,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -298,7 +296,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -321,7 +319,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -374,7 +372,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -438,7 +436,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 ff52905fc50ca..75c43619dfa70 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.es2024.full.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] 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,19 +156,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -181,7 +179,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +200,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -230,11 +228,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -298,7 +296,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -321,7 +319,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -374,7 +372,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -409,11 +407,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -458,7 +456,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -481,7 +479,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -519,7 +517,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 c791f9af0eb94..441eaa0b486bc 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.es2024.full.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] 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,19 +143,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -168,7 +166,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -189,7 +187,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -217,11 +215,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -274,7 +272,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -297,7 +295,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -351,7 +349,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -382,11 +380,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -439,7 +437,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -462,7 +460,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 e82e7f3999d27..9f6a1d1400fd9 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.es2024.full.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] 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,19 +143,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -168,7 +166,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -189,7 +187,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -217,11 +215,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -274,7 +272,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -297,7 +295,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -351,7 +349,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -382,11 +380,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", "/home/src/projects/project/tsconfig.json" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -439,7 +437,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -462,7 +460,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 30bd0dd8c421d..301e082226922 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,8 +80,6 @@ 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* @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -153,13 +151,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation ../../../../../user/username/projects/myproject/b.ts @@ -195,7 +193,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d70b4f4d76881..b5f1d567cfc0b 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,8 +80,6 @@ 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* @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -134,7 +132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -159,12 +157,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/c.ts Root file specified for compilation @@ -198,7 +196,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -225,13 +223,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/c.ts Root file specified for compilation ../../../../../user/username/projects/myproject/b.ts @@ -266,7 +264,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 de79871a3f311..d8f8414c53792 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/index.ts Root file specified for compilation @@ -76,8 +76,6 @@ 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* @@ -86,7 +84,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 03d7e5e7c7bf1..fecee487ed967 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -83,8 +83,6 @@ 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* @@ -93,7 +91,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 40ce250a6e884..f8f34060ef2cd 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,8 +80,6 @@ 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* @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f63fc6c08af69..e500ff3863c10 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,8 +80,6 @@ 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* @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 607398d07c3f6..f5d1c4ad0f6bc 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -67,8 +67,6 @@ 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* @@ -77,7 +75,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 661d30087c650..834c1eb5f0e4d 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/myproject/a.ts Root file specified for compilation @@ -80,8 +80,6 @@ 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* @@ -90,7 +88,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 113db388a214f..3bed8d3eaf355 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a/file1.ts Matched by default include pattern '**/*' a/target.ts @@ -166,8 +166,6 @@ 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 +178,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -202,7 +200,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -237,7 +235,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -299,7 +297,7 @@ ScriptInfos:: version: SVC-1-2 *changed* containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -330,7 +328,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 4763bf0e9534d..e4a7dff087b7f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^/untitled/ts-nul-authority/Untitled-1 Root file specified for compilation @@ -75,11 +75,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -89,7 +87,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 bd04e87d474c2..95f562275ee06 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -197,8 +197,6 @@ 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* @@ -209,7 +207,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -227,7 +225,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 5dcc8908a82b1..25271f5eeaa2d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -276,8 +276,6 @@ 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* @@ -288,7 +286,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -306,7 +304,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f06159a8923e2..f239c1bb72fae 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -176,8 +176,6 @@ 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* @@ -188,7 +186,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -206,7 +204,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 2c3d23920bb18..e4a516f6bdfe9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' b.ts @@ -191,8 +191,6 @@ 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 +205,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -233,7 +231,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -281,7 +279,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -306,7 +304,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -354,7 +352,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -379,7 +377,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0df17d6c094e9..0689fa30bfb45 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -184,8 +184,6 @@ 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 +194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -290,7 +288,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -364,7 +362,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 41e43196c2523..693d32c4afb0e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by include pattern '*.ts' in 'tsconfig.json' d.ts @@ -188,8 +188,6 @@ 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* @@ -198,7 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -216,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -263,15 +261,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by include pattern '*.ts' in 'tsconfig.json' d.ts @@ -320,7 +318,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -341,7 +339,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -384,7 +382,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -412,7 +410,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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\";" @@ -457,7 +455,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6884a38b7831a..6ddf8584c56e8 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -177,8 +177,6 @@ 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* @@ -189,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -205,7 +203,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -239,7 +237,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -277,13 +275,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Referenced via './b.ts' from file 'a.ts' Matched by default include pattern '**/*' @@ -300,7 +298,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b.ts: *new* {} @@ -319,7 +317,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b426bc6bc48b1..31f93c07e7cc4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by include pattern '*.ts' in 'tsconfig.json' b.vue @@ -188,8 +188,6 @@ 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* @@ -202,7 +200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -220,7 +218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -316,7 +314,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 9db6ff87e7514..e91e92ae47689 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^memfs:/foo.ts Root file specified for compilation @@ -68,11 +68,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 37c28920baf3f..d01046026b179 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^memfs:/foo.ts Root file specified for compilation @@ -68,11 +68,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 2a8bd4087ce69..6b3835eaf28c6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^memfs:/foo.ts Root file specified for compilation @@ -72,11 +72,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -86,7 +84,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c0095ea593a8d..fa6229885aa6b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^memfs:/foo.ts Root file specified for compilation @@ -69,11 +69,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -83,7 +81,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -127,7 +125,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -160,12 +158,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo2.ts Root file specified for compilation @@ -173,12 +171,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts ^memfs:/foo.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^memfs:/foo.ts Root file specified for compilation @@ -217,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7d756ecde86a2..512455d368820 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -160,8 +160,6 @@ 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 +170,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -190,7 +188,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 269af0fc58818..889ae3d93d835 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ^memfs:/foo.ts Root file specified for compilation @@ -68,11 +68,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 528b8dd5d79d6..482b16894fdf1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -161,8 +161,6 @@ 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* @@ -177,7 +175,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -195,7 +193,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -250,7 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -373,7 +371,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 c6e63b5e4a229..daf56b0a5f5f5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -161,8 +161,6 @@ 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* @@ -177,7 +175,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -195,7 +193,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 429d3f1a3b45f..fe0a5ec03539b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -193,8 +193,6 @@ 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* @@ -209,7 +207,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -227,7 +225,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e7baa59fb517b..06afec04f67ba 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library test.ts Root file specified for compilation @@ -226,8 +226,6 @@ 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* @@ -254,7 +252,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -276,7 +274,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -341,7 +339,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -368,7 +366,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -440,12 +438,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library test2.ts Root file specified for compilation @@ -508,7 +506,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 95c6c5af37691..3486340bc3902 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library test.ts Root file specified for compilation @@ -199,8 +199,6 @@ 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 +225,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -249,7 +247,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -314,7 +312,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -341,7 +339,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/a/b/tsconfig.json @@ -384,12 +382,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library test2.ts Root file specified for compilation @@ -452,7 +450,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5971259c054ac..64c8198304473 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -153,8 +153,6 @@ 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 +167,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -187,7 +185,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 70b792aed1372..7664acf3d4d9e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json @@ -190,8 +190,6 @@ 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 +206,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -222,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7e82ada287989..5b91d9e87ab0c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json lib.ts @@ -185,8 +185,6 @@ 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* @@ -203,7 +201,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -221,7 +219,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -252,7 +250,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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" @@ -355,7 +353,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 "" @@ -395,7 +393,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 74344d9b77d0a..8de625eddd16a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json lib.ts @@ -170,8 +170,6 @@ 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* @@ -188,7 +186,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -206,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -237,7 +235,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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" @@ -326,7 +324,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 "" @@ -381,7 +379,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 76d732b363502..198060dc20721 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json @@ -188,8 +188,6 @@ 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 +204,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -220,7 +218,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -294,7 +292,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Timeout callback:: count: 2 @@ -322,13 +320,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Part of 'files' list in tsconfig.json applib.ts @@ -371,7 +369,7 @@ FsWatches:: {} /home/src/projects/project/a/b/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -390,7 +388,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ef38ebc74f0b8..8e8b76e3a8b1b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,8 +194,6 @@ 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* @@ -214,7 +212,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -236,7 +234,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/tsconfig.json @@ -405,7 +403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/tsconfig.json @@ -448,7 +446,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 ab45edd35ccfd..45ff70f355e2b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -158,8 +158,6 @@ 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 +168,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -188,7 +186,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -240,7 +238,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 5bff4f89da67b..8808c4a34471b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -192,8 +192,6 @@ 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 +206,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -226,7 +224,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 dda296cbba910..a3f215d1a0224 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a.ts Imported via "../a" from file 'file.ts' file.ts @@ -178,8 +178,6 @@ 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 +192,7 @@ FsWatches:: {} /home/src/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -216,7 +214,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 fb6dfe3989358..e103cad576ff7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a.ts Imported via "../a" from file 'file.ts' file.ts @@ -175,8 +175,6 @@ 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 +189,7 @@ FsWatches:: {} /home/src/projects/project/src/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -213,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/src/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 b53b3f010d1d6..abb4f96fe3f26 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -116,8 +116,6 @@ 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* @@ -134,7 +132,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -147,7 +145,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -206,7 +204,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/app.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Timeout callback:: count: 1 @@ -225,7 +223,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /home/src/projects/project/a/b/test.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -245,12 +243,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library applib.ts Root file specified for compilation @@ -286,7 +284,7 @@ FsWatches:: {} /home/src/projects/project/a/b/applib.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -305,7 +303,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -341,7 +339,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj @@ -359,13 +357,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library applib.ts Root file specified for compilation app.ts @@ -398,7 +396,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b430240744a39..0c21d473ab9d8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../src/tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' src/b.ts @@ -174,8 +174,6 @@ 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* @@ -184,8 +182,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":16} /home/username/workspaces/project/src: *new* {"inode":5} /home/username/workspaces/project/src/b.ts: *new* @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json @@ -218,7 +216,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/username/workspaces/project/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/username/workspaces/project/src/b.ts 2:: WatchInfo: /home/username/workspaces/project/src/b.ts 500 undefined WatchType: Closed Script info Before request -//// [/home/username/workspaces/project/src/c.ts] Inode:: 117 +//// [/home/username/workspaces/project/src/c.ts] Inode:: 121 export const b = 10; //// [/home/username/workspaces/project/src/b.ts] deleted @@ -232,8 +230,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /home/username/workspaces/project/src: {"inode":5} /home/username/workspaces/project/tsconfig.json: @@ -256,7 +254,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json @@ -290,13 +288,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../src/tslibs/TS/Lib/lib.d.ts + Default library src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' src/c.ts @@ -337,8 +335,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /home/username/workspaces/project/src: {"inode":5} /home/username/workspaces/project/tsconfig.json: @@ -359,7 +357,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/username/workspaces/project/tsconfig.json @@ -491,12 +489,12 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":16} /home/username/workspaces/project/src: {"inode":5} /home/username/workspaces/project/src/c.ts: *new* - {"inode":117} + {"inode":121} /home/username/workspaces/project/tsconfig.json: {"inode":8} @@ -507,7 +505,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6ef05a69835ac..4e230722cf3f4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library bar/app.ts Matched by default include pattern '**/*' foo/foo.ts @@ -203,8 +203,6 @@ 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* @@ -217,7 +215,7 @@ FsWatches:: {} /a/b/projects/myproject/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -239,7 +237,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json @@ -383,7 +381,7 @@ ScriptInfos:: deferredDelete: true *changed* containingProjects: 0 *changed* /a/b/projects/myproject/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json @@ -394,13 +392,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library bar/app.ts Matched by default include pattern '**/*' foo2/foo.ts @@ -451,7 +449,7 @@ FsWatches:: {} /a/b/projects/myproject/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -479,7 +477,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/projects/myproject/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2d8b6d578e2a5..83d6f43139216 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.es2024.full.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] 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,19 +51,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -78,7 +76,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f1.js: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -91,7 +89,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/project.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/project.csproj @@ -119,7 +117,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/b/f1.js" ], "compilerOptions": { @@ -267,7 +265,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/f1.js: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -316,7 +314,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 e55b5efd5b117..9b43034bf4431 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.es2024.full.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] 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,19 +51,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -88,7 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -101,7 +99,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,11 +127,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", "/home/src/projects/project/a/b/f1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -183,7 +181,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -207,7 +205,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -267,7 +265,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -342,7 +340,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 3908c1695a31c..51d9f597f3d7e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/main.ts Matched by default include pattern '**/*' @@ -166,8 +166,6 @@ 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* @@ -180,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -202,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -364,7 +362,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -425,7 +423,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -891,13 +889,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/@angular/core/index.d.ts Imported via '@angular/core' from file 'src/main.ts' src/main.ts @@ -956,7 +954,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -981,7 +979,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 129702bf5c361..e4df95e07de7e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/main.ts Matched by default include pattern '**/*' @@ -166,8 +166,6 @@ 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* @@ -180,7 +178,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -202,7 +200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -367,7 +365,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -416,7 +414,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -932,13 +930,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/@angular/core/index.d.ts Imported via '@angular/core' from file 'src/main.ts' src/main.ts @@ -997,7 +995,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -1022,7 +1020,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2329a7d6412c2..a928451b9535e 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.es2024.full.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] 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,19 +54,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -87,7 +85,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -96,7 +94,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -128,11 +126,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", "/user/username/projects/myproject/src/client/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -188,7 +186,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -212,7 +210,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -268,7 +266,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -305,14 +303,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/client/app.js Root file specified for compilation src/server/utilities.js @@ -325,13 +323,13 @@ 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", "/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": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -390,7 +388,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -414,7 +412,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -480,7 +478,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/server/utilities.js: *new* {} @@ -498,7 +496,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -731,7 +729,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/server/utilities.js: {} @@ -751,7 +749,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -789,12 +787,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/client/app.js Root file specified for compilation @@ -803,11 +801,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", "/user/username/projects/myproject/src/client/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -858,7 +856,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -882,7 +880,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -901,13 +899,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/client/app.js Root file specified for compilation src/server/utilities.js @@ -918,12 +916,12 @@ 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", "/user/username/projects/myproject/src/client/app.js", "/user/username/projects/myproject/src/server/utilities.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -976,7 +974,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1000,7 +998,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1063,7 +1061,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1087,7 +1085,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bef2162ee8b11..3cd917f7a78de 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/blabla.json Imported via "./blabla.json" from file 'src/test.ts' Matched by include pattern './src/*.json' in 'tsconfig.json' @@ -186,8 +186,6 @@ 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 +194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src: *new* {} @@ -216,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 1257a953c57cd..6782a00fea353 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/blabla.json Imported via "./blabla.json" from file 'src/test.ts' src/test.ts @@ -183,8 +183,6 @@ 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 +191,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src: *new* {} @@ -213,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 6b415d253966c..f536ee3261582 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library untitled:Untitled-1 Root file specified for compilation @@ -82,8 +82,6 @@ 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* @@ -100,7 +98,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/someuser/workspaces/projects/someFolder/src/somefile.d.ts: *new* {} @@ -112,7 +110,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c31201b50045a..20fdaad8815c7 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library untitled:Untitled-1 Root file specified for compilation @@ -75,8 +75,6 @@ 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* @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -99,7 +97,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 1b7295fa30154..9bb531c00986c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -213,8 +213,6 @@ 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* @@ -229,7 +227,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -247,7 +245,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/b/tsconfig.json @@ -379,7 +377,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 ca31456dc39a7..174565ca0f1a7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ui.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -182,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 13f4385637f46..6f5b5bf115240 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ui.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -182,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a4e0b58296a9f..3998b46c3710f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ui.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -182,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -271,7 +269,23 @@ 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 9227b3daba0e1..c00f9a00d97fa 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } 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) { @@ -91,16 +89,16 @@ declare namespace Hmi { //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", "./Source.ts" ], "fileInfos": { - "../../../../../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; };", + "../../../../../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; };", "./Source.ts": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}" }, "root": [ @@ -116,7 +114,7 @@ declare namespace Hmi { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", "not cached or not changed" ], [ @@ -127,7 +125,7 @@ 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": 925 + "size": 913 } //// [/user/username/projects/myproject/SiblingClass/Source.js] @@ -150,17 +148,17 @@ declare namespace Hmi { //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", "../buttonClass/Source.d.ts", "./Source.ts" ], "fileInfos": { - "../../../../../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; };", + "../../../../../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; };", "../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}" }, @@ -177,7 +175,7 @@ declare namespace Hmi { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/TS/Lib/lib.d.ts", "not cached or not changed" ], [ @@ -192,7 +190,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": 1058 + "size": 1046 } @@ -250,7 +248,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.es2024.full.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] 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 @@ -260,13 +258,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../buttonClass/Source.ts Source from referenced project '../buttonClass/tsconfig.json' included because '--outFile' specified Source.ts @@ -397,7 +395,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/SiblingClass/tsconfig.json: *new* {} @@ -415,7 +413,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 2c6999b5a13e1..7d510d27771cc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -589,7 +587,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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] ----------------------------------------------- @@ -687,7 +685,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 73168c3459f22..2e81559cb0fde 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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() { }" @@ -673,7 +671,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 f4fcfd9065c39..2fcdf93f7c41c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -589,7 +587,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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] ----------------------------------------------- @@ -684,7 +682,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 25a1c6d797780..ac341f54f57dd 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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() { }" @@ -673,7 +671,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 0f72b7d11d331..d057cd65ec475 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -581,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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] ----------------------------------------------- @@ -673,7 +671,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 7ee0b9b784afa..d94c2bca62fc8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -647,7 +645,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 33f5d693c76c0..060a2c9d781b0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -581,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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] ----------------------------------------------- @@ -672,7 +670,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 ae7e6eaa3f992..c8c4fc9d632d8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -647,7 +645,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 735cfcae91ffd..d45d392094b77 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -533,7 +531,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 ca1e4300175d8..205601085d3a5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -581,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 561df874cdbf1..526e448ccc16e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 ff347819f3e38..71be5843d2206 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -581,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 a73102f2cbbb8..f29bab5587a99 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 c9c163f7ecfe6..a87266a7f5c2a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5ab46e1d950ab..79be4f0a1d077 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -566,7 +564,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} 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 49d807fce033e..c5bef2991300c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -589,7 +587,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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] ----------------------------------------------- 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 d9ffbfeba12f1..22280af747fa8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-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 0728cd6d2b39d..7783546797891 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -581,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index 0da4aae0aa4d0..89314a3892eca 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -589,7 +587,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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] ----------------------------------------------- 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 f8bc56017aaab..b817dbb945bed 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index 9d30b5ec56870..ccd6a32f84787 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -579,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-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 5afbd49294b5a..aa3924825198f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -550,7 +548,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -581,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-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 220dba0d6c6eb..0a88d9703efb8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/usage/tsconfig.json @@ -580,7 +578,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js index 65edfe1240692..fb6dfa453ad0f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index b26447e61191a..01128c99ae0f8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -292,12 +290,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -406,7 +404,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -434,7 +432,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /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-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index e2be81450bc82..cf660e6e8885e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -350,7 +348,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 05131f8cbe512..54cb2684c4c46 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -362,7 +360,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 07b4aa22c2b97..df499dab19cdd 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -350,7 +348,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 +393,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e08a90fbb1c6d..1e8ce003caa60 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -362,7 +360,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 23ae431e72ed1..de5c84430c2e6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -351,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -382,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4ad21aa6dd63b..780da02f78e0e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -363,7 +361,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 cf6a8ada3f8be..f5aaa81905dad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -351,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 +378,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6647d1d6c3e13..710d765df4ea8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -363,7 +361,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 14e572fe0136a..775be29460760 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7c1709c3a629d..0fce3bdcf4236 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f0823ca019abb..9f547731d70a9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -350,7 +348,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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-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 a911805ac185d..abe14ce080f91 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -362,7 +360,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-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 cf3422118d8de..cc677318f7497 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -350,7 +348,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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-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 5de3fb1ce9efa..b5685d2089a98 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -362,7 +360,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-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 c6be5f743e1d1..3382a85706fd1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -351,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -382,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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-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 e0bfae62c7c83..23a9b4eb3df5b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -363,7 +361,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-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 5ce5273c1d8c2..87654486b6c5a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -323,7 +321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -351,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -382,7 +380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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-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 f00d038d8e7d6..8c94f8c39837f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -363,7 +361,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js index 90baf940fa46c..eb2d6f014d2c1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js index efaf64a206e54..aae3c5867126a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -209,8 +209,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json 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 85872421d536f..302f76db761a8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '../a/index.js' from file 'index.ts' index.ts @@ -224,8 +224,6 @@ 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 +240,7 @@ FsWatches:: {} /home/src/projects/project/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -266,7 +264,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/b/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/b/tsconfig.json @@ -423,7 +421,29 @@ 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 bb7f0161cb395..a40e8bb6dc31d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,8 +219,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 ebcc376e12601..c5dec8a945e6d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,8 +219,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 0bbce122b15fb..0069678786c3e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,8 +219,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -402,23 +400,6 @@ 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, @@ -444,14 +425,27 @@ 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 *deleted* -4: checkOne *new* +3: checkOne *new* Before running Timeout callback:: count: 1 -4: checkOne +3: checkOne Info seq [hh:mm:ss:mss] event: { @@ -502,10 +496,10 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 1 -5: checkOne *new* +4: checkOne *new* Before running Timeout callback:: count: 1 -5: checkOne +4: checkOne Info seq [hh:mm:ss:mss] event: { @@ -567,7 +561,29 @@ 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 e9dbbe6701085..2621796426835 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,8 +219,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -302,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -416,7 +414,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -444,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3c6280d14e308..b83d90eb2ecf4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,8 +219,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -302,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -416,7 +414,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -444,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a64ef1b03b9fb..45deb7d17095a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -219,8 +219,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -302,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -416,7 +414,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -444,7 +442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -594,23 +592,6 @@ 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, @@ -636,14 +617,27 @@ 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 *deleted* -4: checkOne *new* +3: checkOne *new* Before running Timeout callback:: count: 1 -4: checkOne +3: checkOne Info seq [hh:mm:ss:mss] event: { @@ -705,7 +699,23 @@ 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 b0a579e4e6db0..0ff2f5aafe28c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,8 +230,6 @@ 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 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 61b7144cd3842..aa3b3bc3245ee 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,8 +230,6 @@ 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 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 607c4a28ec7d5..adace5dafa1fa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,8 +230,6 @@ 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 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -411,23 +409,6 @@ 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, @@ -453,14 +434,27 @@ 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 *deleted* -4: checkOne *new* +3: checkOne *new* Before running Timeout callback:: count: 1 -4: checkOne +3: checkOne Info seq [hh:mm:ss:mss] event: { @@ -511,10 +505,10 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 1 -5: checkOne *new* +4: checkOne *new* Before running Timeout callback:: count: 1 -5: checkOne +4: checkOne Info seq [hh:mm:ss:mss] event: { @@ -576,7 +570,29 @@ 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 798843e7668db..eaa6880ca18d9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,8 +230,6 @@ 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 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -311,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -438,7 +436,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -466,7 +464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5a5d18c9fae91..69796f9a5baa0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,8 +230,6 @@ 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 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -311,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -438,7 +436,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -466,7 +464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 f6741aa0f51c3..d6dd1b54c4f8c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -230,8 +230,6 @@ 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 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/fns.ts: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/usage/tsconfig.json @@ -311,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library fns.ts Matched by default include pattern '**/*' @@ -438,7 +436,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -466,7 +464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/usage/tsconfig.json @@ -616,23 +614,6 @@ 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, @@ -658,14 +639,27 @@ 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 *deleted* -4: checkOne *new* +3: checkOne *new* Before running Timeout callback:: count: 1 -4: checkOne +3: checkOne Info seq [hh:mm:ss:mss] event: { @@ -727,7 +721,23 @@ 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 dde2d10bc0a0e..59dc14c18e3c2 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,8 +101,6 @@ interface Array { length: number; [n: number]: 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) { @@ -120,16 +118,16 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../lib/index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ @@ -145,7 +143,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -156,7 +154,7 @@ declare namespace container { "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 857 + "size": 845 } //// [/user/username/projects/container/built/local/exec.js] @@ -202,17 +200,17 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "./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" }, @@ -229,7 +227,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -244,7 +242,7 @@ declare namespace container { "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 1021 + "size": 1009 } @@ -301,7 +299,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.es2024.full.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] 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 @@ -311,13 +309,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -441,7 +439,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/container/compositeExec/tsconfig.json: *new* {} @@ -464,7 +462,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/container/compositeExec/tsconfig.json @@ -500,12 +498,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library temp.ts Root file specified for compilation @@ -555,7 +553,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -582,7 +580,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/container/compositeExec/tsconfig.json @@ -635,12 +633,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -860,13 +858,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1054,7 +1052,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -1098,7 +1096,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/container/compositeExec/tsconfig.json @@ -1192,7 +1190,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -1238,7 +1236,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1340,7 +1338,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -1388,7 +1386,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1479,7 +1477,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/index.ts: *new* {} @@ -1526,7 +1524,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1619,7 +1617,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/index.ts: {} @@ -1670,7 +1668,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/container/compositeExec/tsconfig.json @@ -1718,13 +1716,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/container/lib/index.ts /user/username/projects/container/compositeExec/index.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1753,12 +1751,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/container/lib/index.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -1772,13 +1770,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/container/lib/index.ts /user/username/projects/container/exec/index.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1837,7 +1835,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1894,7 +1892,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 99921072d2834..a65985bd1cf3f 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,8 +71,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -82,16 +80,16 @@ export declare function foo(): void; //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../src/library/index.ts" ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -121,7 +119,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 797 + "size": 785 } //// [/user/username/projects/myproject/app/bld/program/bar.js] @@ -140,12 +138,12 @@ foo; //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../../shared/bld/library/index.d.ts", "../../src/program/bar.ts", "../../src/program/index.ts" @@ -156,7 +154,7 @@ foo; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -223,7 +221,7 @@ foo; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1143 + "size": 1131 } @@ -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/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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../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 @@ -446,7 +444,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -491,7 +489,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7b0c883e46e14..2c6de5ff9cd4e 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -81,16 +79,16 @@ export declare function foo(): void; //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../src/library/index.ts" ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -120,7 +118,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 797 + "size": 785 } //// [/user/username/projects/myproject/app/bld/program/bar.js] @@ -139,12 +137,12 @@ foo; //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../../shared/bld/library/index.d.ts", "../../src/program/bar.ts", "../../src/program/index.ts" @@ -155,7 +153,7 @@ foo; ] ], "fileInfos": { - "../../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../../home/src/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 @@ -222,7 +220,7 @@ foo; ], "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1143 + "size": 1131 } @@ -283,7 +281,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.es2024.full.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] 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 @@ -316,14 +314,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../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 @@ -443,7 +441,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -488,7 +486,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 b012e4f118993..96c4b667d4d37 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../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,8 +268,6 @@ 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* @@ -290,7 +288,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -335,7 +333,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 087868adc4e95..4fc36d87420b5 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,8 +98,6 @@ interface Array { length: number; [n: number]: 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) { @@ -117,16 +115,16 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../lib/index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ @@ -142,7 +140,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -153,7 +151,7 @@ declare namespace container { "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 857 + "size": 845 } //// [/user/username/projects/container/built/local/exec.js] @@ -199,17 +197,17 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "./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" }, @@ -226,7 +224,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -241,7 +239,7 @@ declare namespace container { "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 1021 + "size": 1009 } @@ -298,7 +296,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.es2024.full.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] 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 @@ -308,13 +306,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -438,7 +436,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/container/compositeExec/tsconfig.json: *new* {} @@ -461,7 +459,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/container/compositeExec/tsconfig.json @@ -509,12 +507,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -734,13 +732,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -922,7 +920,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/container/compositeExec/tsconfig.json: {} @@ -962,7 +960,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 67b87144026bf..9c4190f6a4450 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -361,8 +361,6 @@ 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* @@ -371,7 +369,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -400,7 +398,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -467,12 +465,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -522,7 +520,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -555,7 +553,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -625,7 +623,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -662,7 +660,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -735,7 +733,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -776,7 +774,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -824,13 +822,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -884,7 +882,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -929,7 +927,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1050,13 +1048,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1144,7 +1142,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -1176,7 +1174,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1295,13 +1293,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1374,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1458,7 +1456,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 ff1a0dd0e9e69..cb639514337f0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -222,8 +222,6 @@ 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* @@ -246,7 +244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -272,7 +270,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -333,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -404,7 +402,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -437,7 +435,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -519,7 +517,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -547,7 +545,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -620,7 +618,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -648,7 +646,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -683,12 +681,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -757,7 +755,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* @@ -874,12 +872,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -943,7 +941,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -972,7 +970,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -1079,12 +1077,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1111,12 +1109,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -1217,7 +1215,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 53236ce4d35df..98353eeeca094 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -184,8 +184,6 @@ 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* @@ -208,7 +206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -232,7 +230,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -292,12 +290,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -362,7 +360,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -391,7 +389,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -473,7 +471,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -501,7 +499,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -574,7 +572,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -602,7 +600,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -637,12 +635,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -711,7 +709,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -742,7 +740,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* @@ -810,12 +808,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -879,7 +877,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -906,7 +904,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -996,12 +994,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1028,12 +1026,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -1134,7 +1132,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 4c2889a7f5bac..6bb3d01e9a158 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,8 +98,6 @@ interface Array { length: number; [n: number]: 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) { @@ -117,16 +115,16 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../../lib/index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ @@ -142,7 +140,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -153,7 +151,7 @@ declare namespace container { "outSignature": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", "latestChangedDtsFile": "./lib.d.ts", "version": "FakeTSVersion", - "size": 857 + "size": 845 } //// [/user/username/projects/container/built/local/exec.js] @@ -199,17 +197,17 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./lib.d.ts", "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../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; };", + "../../../../../../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; };", "./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" }, @@ -226,7 +224,7 @@ declare namespace container { }, "semanticDiagnosticsPerFile": [ [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -241,7 +239,7 @@ declare namespace container { "outSignature": "6546330589-declare namespace container {\n function getMyConst(): number;\n}\n", "latestChangedDtsFile": "./compositeExec.d.ts", "version": "FakeTSVersion", - "size": 1021 + "size": 1009 } @@ -307,7 +305,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.es2024.full.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] 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 @@ -317,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -445,13 +443,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -576,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -808,7 +806,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/container/compositeExec/index.ts: *new* {} @@ -840,7 +838,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 39cd61fbf3d2c..d23652689591e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -313,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -430,7 +428,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -460,7 +458,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -591,7 +589,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 0276af58778b5..1ae006f2dc7ac 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -325,13 +323,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -442,7 +440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -472,7 +470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -687,7 +685,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1f58c7c4b00bf..0142b271869f3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -312,13 +310,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -429,7 +427,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -457,7 +455,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 2fabb4d308376..d3e0fd69c7853 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -324,13 +322,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -441,7 +439,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -469,7 +467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c4dea78995c95..deefcdf886d75 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -313,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -430,7 +428,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -460,7 +458,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -591,7 +589,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 bdc558dfba03d..39d64bb7d226e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -325,13 +323,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -442,7 +440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -472,7 +470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/a/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -687,7 +685,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6a4ea18b4d2cf..d151ee5b0f176 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -312,13 +310,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -429,7 +427,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -457,7 +455,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7ce16d31ae165..42f035e9cb997 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -324,13 +322,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -441,7 +439,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -469,7 +467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5a00d69b5fd56..d42a6088256bc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 52daa700fe88b..7913a4c91f2c1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -397,7 +395,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -425,7 +423,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2bed90eaabe92..f25478cda7533 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 402b464ede051..dc2325b48f26e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a0918ea8348f1..6c4552650b582 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 933a596f4a981..34252502f51b8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/lib/index.d.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -330,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -553,7 +551,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -590,7 +588,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 682fabf2a368d..ba4cb0ed734e0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -230,8 +230,6 @@ 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* @@ -242,7 +240,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -264,7 +262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -316,13 +314,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -539,7 +537,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -571,7 +569,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 deb3a13763f3c..35aec53eac7b8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/index.ts Imported via "../b/lib" from file 'index.ts' index.ts @@ -242,8 +242,6 @@ 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* @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/a/tsconfig.json: *new* {} @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/a/tsconfig.json @@ -328,13 +326,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Imported via "." from file 'helper.ts' Matched by default include pattern '**/*' @@ -551,7 +549,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/a/tsconfig.json: {} @@ -583,7 +581,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8763a86b1d5b9..12e4014a409c0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library types.ts Part of 'files' list in tsconfig.json program.ts @@ -246,8 +246,6 @@ 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* @@ -258,7 +256,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/compiler/tsconfig.json: *new* {} @@ -279,7 +277,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/compiler/tsconfig.json @@ -502,14 +500,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../compiler/types.ts Source from referenced project '../compiler/tsconfig.json' included because '--module' is specified as 'none' ../compiler/program.ts @@ -672,7 +670,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution/compiler/tsconfig.json: {} @@ -705,7 +703,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 167a421a9dc21..db0c8db434988 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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,8 +292,6 @@ 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* @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution: *new* {} @@ -333,7 +331,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/b/tsconfig.json @@ -382,12 +380,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Part of 'files' list in tsconfig.json @@ -638,14 +636,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via "../a" from file 'index.ts' Imported via "../a" from file '../b/index.ts' @@ -748,15 +746,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via "../a" from file 'index.ts' Imported via "../a" from file '../c/index.ts' @@ -995,7 +993,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution: {} @@ -1058,7 +1056,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 64b1feaa0def2..6053016c669f8 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -88,17 +86,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -141,7 +139,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -156,12 +154,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -173,7 +171,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -228,7 +226,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1119 + "size": 1107 } @@ -293,7 +291,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.es2024.full.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] 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 @@ -324,14 +322,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -442,7 +440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -480,7 +478,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -629,7 +627,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -672,7 +670,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 fac98a08aad7f..6f4d2d47b9cb6 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,8 +67,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -86,17 +84,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -139,7 +137,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -154,12 +152,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -171,7 +169,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -216,7 +214,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1027 + "size": 1015 } @@ -279,7 +277,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.es2024.full.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] 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 @@ -310,14 +308,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -427,7 +425,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -465,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -614,7 +612,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -657,7 +655,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 dd427a3cd95ac..cfa5b3b22a5d3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -264,8 +264,6 @@ 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* @@ -282,7 +280,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -320,7 +318,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -469,7 +467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -512,7 +510,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 c8931c45172a4..c935864e2365b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts @@ -259,8 +259,6 @@ 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* @@ -277,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -315,7 +313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -464,7 +462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -507,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 398b7b9c232a2..05307d4f3a52d 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -88,17 +86,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -141,7 +139,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -156,12 +154,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -173,7 +171,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -228,7 +226,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1147 + "size": 1135 } @@ -293,7 +291,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.es2024.full.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] 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 @@ -324,14 +322,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -442,7 +440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -480,7 +478,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -629,7 +627,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -672,7 +670,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 89478092558c5..24d515eac67dc 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,8 +67,6 @@ interface Array { length: number; [n: number]: T; } 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] export function bar() { } @@ -86,17 +84,17 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/bar.ts", "./src/index.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -139,7 +137,7 @@ export declare function foo(): void; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 941 + "size": 929 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -154,12 +152,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/index.d.ts", "../b/lib/bar.d.ts", "./src/index.ts" @@ -171,7 +169,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -216,7 +214,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1041 + "size": 1029 } @@ -279,7 +277,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.es2024.full.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] 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 @@ -310,14 +308,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -427,7 +425,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -465,7 +463,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -614,7 +612,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -657,7 +655,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 49aa89d7e46e3..de314c6a956a1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -264,8 +264,6 @@ 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* @@ -282,7 +280,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -320,7 +318,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -469,7 +467,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -512,7 +510,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 072db0c13886f..5d6b215163118 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts @@ -259,8 +259,6 @@ 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* @@ -277,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -315,7 +313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -464,7 +462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -507,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 01686b9a7b9a7..66e886b3ccbd4 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,8 +66,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -85,17 +83,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -138,7 +136,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -153,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -170,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -225,7 +223,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1132 + "size": 1120 } @@ -290,7 +288,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.es2024.full.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] 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 @@ -319,14 +317,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -437,7 +435,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -473,7 +471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -622,7 +620,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -665,7 +663,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 63b47257826ca..98527f12feb68 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -83,17 +81,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -136,7 +134,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -151,12 +149,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -168,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -213,7 +211,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1040 + "size": 1028 } @@ -276,7 +274,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.es2024.full.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] 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 @@ -305,14 +303,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -422,7 +420,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -458,7 +456,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -607,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -650,7 +648,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 5431f4844f184..f37323d891cd8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -259,8 +259,6 @@ 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* @@ -277,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -313,7 +311,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -462,7 +460,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -505,7 +503,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 2d0608e516818..0edf41a8c3fad 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -254,8 +254,6 @@ 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 +270,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -308,7 +306,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -457,7 +455,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -500,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 25807fdecd7f1..0d60bce098788 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,8 +66,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -85,17 +83,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -138,7 +136,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -153,12 +151,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../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" @@ -170,7 +168,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -225,7 +223,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1161 + "size": 1149 } @@ -290,7 +288,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.es2024.full.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] 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 @@ -319,14 +317,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -437,7 +435,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -473,7 +471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -622,7 +620,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -665,7 +663,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 ecad2c9288f08..2b6460993ce44 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } 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] export function foo() { } @@ -83,17 +81,17 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./src/foo.ts", "./src/bar/foo.ts" ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -136,7 +134,7 @@ export declare function bar(): void; }, "latestChangedDtsFile": "./lib/bar/foo.d.ts", "version": "FakeTSVersion", - "size": 945 + "size": 933 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -151,12 +149,12 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../b/lib/foo.d.ts", "../b/lib/bar/foo.d.ts", "./src/test.ts" @@ -168,7 +166,7 @@ export {}; ] ], "fileInfos": { - "../../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../../home/src/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 @@ -213,7 +211,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1055 + "size": 1043 } @@ -276,7 +274,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.es2024.full.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] 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 @@ -305,14 +303,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -422,7 +420,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -458,7 +456,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -607,7 +605,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -650,7 +648,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 c52e234ea62a8..68aa1d7249e1e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -259,8 +259,6 @@ 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* @@ -277,7 +275,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -313,7 +311,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -462,7 +460,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -505,7 +503,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 c484fac806942..6597bcba5b879 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts @@ -254,8 +254,6 @@ 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 +270,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -308,7 +306,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -457,7 +455,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/packages/A/tsconfig.json @@ -500,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 c5783b8700d78..04cf0f508c4ba 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -233,8 +233,6 @@ 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* @@ -247,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -269,7 +267,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -310,7 +308,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 {}" @@ -408,7 +406,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -460,7 +458,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -492,14 +490,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -601,7 +599,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -654,7 +652,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -679,13 +677,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -807,7 +805,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -830,14 +828,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -910,7 +908,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d4d16405c9f5e..b4343aedc6504 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -230,8 +230,6 @@ 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* @@ -244,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.ts: *new* {} @@ -266,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -307,14 +305,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.ts @@ -365,7 +363,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.ts: {} @@ -390,7 +388,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c9db89121000e..27c0df63c8490 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -233,8 +233,6 @@ 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* @@ -247,7 +245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.d.ts: *new* {} @@ -269,7 +267,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -317,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library class1.ts Matched by default include pattern '**/*' @@ -446,7 +444,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -472,7 +470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/projects/project2/tsconfig.json @@ -527,7 +525,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 {}" @@ -587,13 +585,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library class1.ts Matched by default include pattern '**/*' class3.ts @@ -659,7 +657,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -743,7 +741,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -780,14 +778,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -879,7 +877,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class1.d.ts: {} @@ -909,7 +907,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -974,7 +972,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -1008,13 +1006,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -1155,7 +1153,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -1187,14 +1185,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -1283,7 +1281,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4ed02cfee1d0f..2a91038b41631 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -230,8 +230,6 @@ 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* @@ -244,7 +242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/projects/project1/class1.ts: *new* {} @@ -266,7 +264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/projects/project2/tsconfig.json @@ -315,12 +313,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library class1.ts Matched by default include pattern '**/*' @@ -444,7 +442,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/tsconfig.json: {} @@ -472,7 +470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/projects/project2/tsconfig.json @@ -525,14 +523,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.ts @@ -546,13 +544,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library class1.ts Matched by default include pattern '**/*' class3.ts @@ -616,7 +614,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/projects/project1/class3.ts: *new* {} @@ -644,7 +642,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 269ec32aeb388..b4340d08984a4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -272,8 +272,6 @@ 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* @@ -282,7 +280,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -307,7 +305,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -461,12 +459,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -516,7 +514,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -545,7 +543,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -615,7 +613,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -648,7 +646,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -721,7 +719,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -758,7 +756,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -804,13 +802,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -864,7 +862,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -905,7 +903,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -985,13 +983,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1079,7 +1077,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -1107,7 +1105,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1181,7 +1179,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1213,7 +1211,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1295,7 +1293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1329,7 +1327,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1404,7 +1402,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1436,7 +1434,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1530,12 +1528,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -1607,7 +1605,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -1652,7 +1650,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -1891,7 +1889,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1938,7 +1936,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2002,12 +2000,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2074,7 +2072,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2113,7 +2111,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2361,13 +2359,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2441,12 +2439,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2525,7 +2523,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2747,7 +2745,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2780,7 +2778,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -2864,7 +2862,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2897,7 +2895,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -2981,7 +2979,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -3018,7 +3016,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -3096,14 +3094,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3205,13 +3203,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3229,12 +3227,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -3280,7 +3278,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -3338,7 +3336,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -3441,13 +3439,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3662,7 +3660,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: {} @@ -3709,7 +3707,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4b73f48a77a84..80ff9debca302 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -359,8 +359,6 @@ 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 +367,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -398,7 +396,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig-src.json @@ -554,12 +552,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -609,7 +607,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -642,7 +640,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -712,7 +710,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -749,7 +747,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -822,7 +820,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -863,7 +861,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig-src.json @@ -911,13 +909,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -971,7 +969,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1016,7 +1014,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1136,13 +1134,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1230,7 +1228,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: *new* {} @@ -1262,7 +1260,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1336,7 +1334,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1372,7 +1370,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1454,7 +1452,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1492,7 +1490,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1567,7 +1565,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -1603,7 +1601,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -1697,12 +1695,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Root file specified for compilation @@ -1774,7 +1772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -1823,7 +1821,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2062,7 +2060,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2113,7 +2111,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2177,12 +2175,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2249,7 +2247,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2292,7 +2290,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -2578,13 +2576,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2658,12 +2656,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2742,7 +2740,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/helpers/functions.ts: {} @@ -2889,14 +2887,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3005,14 +3003,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3278,7 +3276,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -3333,7 +3331,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/tsconfig-src.json @@ -3439,7 +3437,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3496,7 +3494,7 @@ Projects:: noOpenRef: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/tsconfig-src.json @@ -3602,7 +3600,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3663,7 +3661,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/tsconfig-src.json @@ -3755,14 +3753,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3864,13 +3862,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3885,14 +3883,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3909,14 +3907,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3936,12 +3934,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -3989,7 +3987,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -4073,7 +4071,7 @@ Projects:: noOpenRef: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -4230,13 +4228,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4344,14 +4342,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4415,14 +4413,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4677,7 +4675,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -4746,7 +4744,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ec6250448d965..816130e750573 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../utils/index.ts Imported via "../utils" from file 'index.ts' index.ts @@ -214,8 +214,6 @@ 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* @@ -228,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/src: *new* {} @@ -252,7 +250,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 092e431365e94..3173271ae2099 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dist/compositeb/b.d.ts Imported via "@ref/compositeb/b" from file 'a.ts' a.ts @@ -259,8 +259,6 @@ 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* @@ -271,7 +269,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/compositea/a2.ts: *new* {} @@ -293,7 +291,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/compositea/tsconfig.json @@ -392,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../compositeb/b.ts Imported via "@ref/compositeb/b" from file 'c.ts' c.ts @@ -525,7 +523,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/compositea/a2.ts: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/compositea/tsconfig.json @@ -612,7 +610,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/compositea/tsconfig.json @@ -643,7 +641,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 abaf61564e2ed..9db781703bddd 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,8 +74,6 @@ interface Array { length: number; [n: number]: 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] function bar() { return "just a random function so .d.ts location doesnt match"; } export function evaluateKeyboardEvent() { } @@ -103,12 +101,12 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/out/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../src/common/input/keyboard.ts", "../src/common/input/keyboard.test.ts" ], @@ -118,7 +116,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -166,7 +164,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -180,7 +178,7 @@ export {}; ], "latestChangedDtsFile": "./input/keyboard.test.d.ts", "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } //// [/user/username/projects/project/out/terminal.js] @@ -198,12 +196,12 @@ export {}; //# sourceMappingURL=terminal.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./input/keyboard.d.ts", "../src/terminal.ts", "./input/keyboard.test.d.ts", @@ -216,7 +214,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -290,7 +288,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -308,7 +306,7 @@ export {}; ], "latestChangedDtsFile": "./terminal.d.ts", "version": "FakeTSVersion", - "size": 1269 + "size": 1257 } @@ -352,7 +350,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.es2024.full.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] 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 @@ -364,13 +362,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library input/keyboard.ts Imported via 'common/input/keyboard' from file 'input/keyboard.test.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -499,7 +497,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/src/common/input/keyboard.test.ts: *new* {} @@ -524,7 +522,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/src/common/tsconfig.json @@ -601,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../out/input/keyboard.d.ts Imported via 'common/input/keyboard' from file 'terminal.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -742,7 +740,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/out/input/keyboard.d.ts: *new* {} @@ -774,7 +772,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/src/common/tsconfig.json @@ -934,7 +932,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/out/input/keyboard.d.ts: {} @@ -972,7 +970,7 @@ Projects:: /user/username/projects/project/src/common/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d84c22c1a4101..9ce12e8f95136 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,8 +74,6 @@ interface Array { length: number; [n: number]: 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] function bar() { return "just a random function so .d.ts location doesnt match"; } export function evaluateKeyboardEvent() { } @@ -103,12 +101,12 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/out/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../src/common/input/keyboard.ts", "../src/common/input/keyboard.test.ts" ], @@ -118,7 +116,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -166,7 +164,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -180,7 +178,7 @@ export {}; ], "latestChangedDtsFile": "./input/keyboard.test.d.ts", "version": "FakeTSVersion", - "size": 1290 + "size": 1278 } //// [/user/username/projects/project/out/terminal.js] @@ -198,12 +196,12 @@ export {}; //# sourceMappingURL=terminal.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"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"} +{"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"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./input/keyboard.d.ts", "../src/terminal.ts", "./input/keyboard.test.d.ts", @@ -216,7 +214,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -290,7 +288,7 @@ export {}; }, "semanticDiagnosticsPerFile": [ [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "not cached or not changed" ], [ @@ -308,7 +306,7 @@ export {}; ], "latestChangedDtsFile": "./terminal.d.ts", "version": "FakeTSVersion", - "size": 1269 + "size": 1257 } @@ -352,7 +350,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.es2024.full.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] 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 @@ -364,13 +362,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library input/keyboard.ts Imported via 'common/input/keyboard' from file 'input/keyboard.test.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -499,7 +497,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/src/common/input/keyboard.test.ts: *new* {} @@ -524,7 +522,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/src/common/tsconfig.json @@ -599,14 +597,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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' @@ -739,7 +737,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/src/common/input/keyboard.test.ts: {} @@ -767,7 +765,7 @@ Projects:: autoImportProviderHost: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e544a0d1d3ae2..b4cd0a59353f7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -507,8 +507,6 @@ 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* @@ -517,7 +515,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -549,7 +547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -629,12 +627,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -684,7 +682,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -720,7 +718,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -801,7 +799,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -841,7 +839,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -925,7 +923,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -969,7 +967,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -1020,15 +1018,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1049,13 +1047,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1111,7 +1109,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1159,7 +1157,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1296,15 +1294,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1383,13 +1381,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1477,7 +1475,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -1512,7 +1510,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -1652,15 +1650,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1742,13 +1740,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1821,12 +1819,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1901,7 +1899,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 3c4f9ed76b5a1..14eb92783be68 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -344,8 +344,6 @@ 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* @@ -354,7 +352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -380,7 +378,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -453,12 +451,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -504,7 +502,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -534,7 +532,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -608,7 +606,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -641,7 +639,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -718,7 +716,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -755,7 +753,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -803,15 +801,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -872,7 +870,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -912,7 +910,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1024,15 +1022,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1134,7 +1132,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -1163,7 +1161,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1277,15 +1275,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1372,12 +1370,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1448,7 +1446,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 f44784885fd18..336ef70259ff2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -302,8 +302,6 @@ 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* @@ -312,7 +310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -334,7 +332,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -400,12 +398,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -451,7 +449,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -477,7 +475,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -547,7 +545,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -576,7 +574,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -649,7 +647,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -726,14 +724,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -790,7 +788,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -826,7 +824,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -915,14 +913,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1022,7 +1020,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -1047,7 +1045,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -1138,14 +1136,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1230,12 +1228,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -1306,7 +1304,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 d065eb2e144e6..9bca5e80ac6dc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -415,8 +415,6 @@ 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* @@ -425,7 +423,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -451,7 +449,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -612,12 +610,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -667,7 +665,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -697,7 +695,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -888,7 +886,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -926,7 +924,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -973,14 +971,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -997,13 +995,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1058,7 +1056,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1100,7 +1098,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1191,14 +1189,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1275,13 +1273,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1369,7 +1367,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: *new* {} @@ -1398,7 +1396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -1479,7 +1477,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1512,7 +1510,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1601,7 +1599,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1636,7 +1634,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1718,7 +1716,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1751,7 +1749,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1815,7 +1813,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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() {}" @@ -1887,7 +1885,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -1923,7 +1921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -2011,7 +2009,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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() {}" @@ -2124,7 +2122,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -2201,12 +2199,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2256,7 +2254,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -2292,7 +2290,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -2380,7 +2378,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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() {}" @@ -2570,14 +2568,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2657,13 +2655,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2737,12 +2735,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2817,7 +2815,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -2995,7 +2993,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -3031,7 +3029,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -3122,7 +3120,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -3160,7 +3158,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -3251,7 +3249,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/own/main.ts: {} @@ -3293,7 +3291,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -3378,14 +3376,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3475,14 +3473,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3499,13 +3497,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3523,12 +3521,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -3575,7 +3573,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -3638,7 +3636,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -3752,14 +3750,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3836,13 +3834,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4059,7 +4057,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: {} @@ -4112,7 +4110,7 @@ Projects:: /user/username/projects/myproject/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8c5270d164644..be9bab78b4d71 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -505,8 +505,6 @@ 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 +513,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -547,7 +545,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -716,12 +714,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -771,7 +769,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -807,7 +805,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -888,7 +886,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -928,7 +926,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -1012,7 +1010,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1056,7 +1054,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/tsconfig.json @@ -1107,15 +1105,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1136,13 +1134,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1198,7 +1196,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1246,7 +1244,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* @@ -1382,15 +1380,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1469,13 +1467,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1563,7 +1561,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -1598,7 +1596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -1683,7 +1681,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1722,7 +1720,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1815,7 +1813,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1856,7 +1854,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -1942,7 +1940,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -1981,7 +1979,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject1* @@ -2061,14 +2059,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/main.ts Imported via 'main' from file 'indirect1/main.ts' indirect1/main.ts @@ -2201,7 +2199,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -2253,7 +2251,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/tsconfig.json @@ -2361,15 +2359,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2533,7 +2531,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -2585,7 +2583,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/tsconfig.json @@ -2655,12 +2653,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -2710,7 +2708,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -2751,7 +2749,7 @@ Projects:: dirty: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/tsconfig.json @@ -2842,7 +2840,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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() {}" @@ -3072,15 +3070,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3162,13 +3160,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3242,12 +3240,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -3322,7 +3320,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3393,14 +3391,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3514,14 +3512,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3784,7 +3782,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -3844,7 +3842,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 5 *changed* /user/username/projects/myproject/tsconfig.json @@ -3958,7 +3956,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -4022,7 +4020,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 5 /user/username/projects/myproject/tsconfig.json @@ -4136,7 +4134,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: {} @@ -4204,7 +4202,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 5 /user/username/projects/myproject/tsconfig.json @@ -4304,14 +4302,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -4401,15 +4399,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4428,13 +4426,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/src/helpers/functions.ts /user/username/projects/myproject/src/main.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4449,14 +4447,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4473,14 +4471,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4500,12 +4498,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/workspaces/dummy/dummy.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library dummy.ts Root file specified for compilation @@ -4554,7 +4552,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect3/tsconfig.json: *new* {} @@ -4645,7 +4643,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /user/username/projects/myproject/indirect3/tsconfig.json *new* @@ -4815,15 +4813,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4902,13 +4900,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4981,14 +4979,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -5061,14 +5059,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -5317,7 +5315,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/indirect1/main.ts: *new* {} @@ -5394,7 +5392,7 @@ Projects:: /user/username/projects/myproject/tsconfig-indirect1.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 28afa03bb8c48..79e6b785a7e74 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -262,8 +262,6 @@ 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 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -305,7 +303,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -354,12 +352,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -572,13 +570,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -729,7 +727,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -779,7 +777,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d512bbd10cc02..bfc4530f0c2d9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -263,8 +263,6 @@ 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* @@ -275,7 +273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -306,7 +304,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -355,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -493,7 +491,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -530,7 +528,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7a7d72c5c2462..e7e9e6fad42f3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -262,8 +262,6 @@ 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 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -305,7 +303,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -354,12 +352,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -572,13 +570,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -729,7 +727,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -779,7 +777,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4f474db3752c3..34786a2ff891d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -264,8 +264,6 @@ 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* @@ -276,7 +274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -307,7 +305,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -356,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -574,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -731,7 +729,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -781,7 +779,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8b0be06ffe7da..d6ef59398823d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -262,8 +262,6 @@ 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 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/api/tsconfig.json: *new* {} @@ -305,7 +303,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/solution/api/tsconfig.json @@ -354,12 +352,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -572,13 +570,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts @@ -729,7 +727,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/solution/api/tsconfig.json: {} @@ -779,7 +777,7 @@ Projects:: initialLoadPending: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 f9a04ceba4c2f..7600346257a4e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -514,7 +512,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -583,12 +581,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -708,7 +706,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -751,7 +749,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -830,12 +828,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -960,7 +958,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1010,7 +1008,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /home/src/projects/project/tsconfig.json @@ -1086,7 +1084,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1138,7 +1136,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /home/src/projects/project/tsconfig.json @@ -1251,7 +1249,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -1280,7 +1278,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 cad3bf261e5f1..e0157c8a767f6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -514,7 +512,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -583,12 +581,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -708,7 +706,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -751,7 +749,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -858,7 +856,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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] ----------------------------------------------- @@ -887,7 +885,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1041,12 +1039,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -1171,7 +1169,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1221,7 +1219,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /home/src/projects/project/tsconfig.json @@ -1297,7 +1295,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1349,7 +1347,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 545b5d107c37c..48660b2a47b3f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -541,7 +539,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -588,12 +586,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -692,7 +690,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -734,7 +732,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -811,12 +809,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -947,7 +945,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -996,7 +994,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1077,7 +1075,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1128,7 +1126,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json @@ -1253,7 +1251,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 +1283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -1405,7 +1403,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1464,7 +1462,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fcb808cf88094..6671fe94459e3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -541,7 +539,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -588,12 +586,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -692,7 +690,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -734,7 +732,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -853,7 +851,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -885,13 +883,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -991,7 +989,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1039,7 +1037,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -1119,12 +1117,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -1247,7 +1245,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1297,7 +1295,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1370,7 +1368,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1422,7 +1420,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 152b125160f15..af0e38fc1d52e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -620,12 +618,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -748,7 +746,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -799,7 +797,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -872,7 +870,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -925,7 +923,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json @@ -1030,7 +1028,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1086,7 +1084,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /home/src/projects/project/tsconfig.json @@ -1137,14 +1135,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -1167,13 +1165,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -1227,7 +1225,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1304,7 +1302,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/random/tsconfig.json @@ -1349,7 +1347,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1369,7 +1367,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1db179bebaba0..e69514ca474f9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -547,14 +545,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library demos/helpers.ts Imported via 'demos/helpers' from file 'app/Component-demos.ts' Matched by default include pattern '**/*' @@ -610,13 +608,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -728,7 +726,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 cd80c4da708b2..d19e3055440bb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -605,12 +603,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -733,7 +731,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -785,7 +783,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -858,7 +856,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -912,7 +910,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8470f30f464f2..0d153b24b47b1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -802,12 +800,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -930,7 +928,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -980,7 +978,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1053,7 +1051,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1105,7 +1103,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0c9aa652d1fea..9d0d98bd5d6d6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -540,7 +538,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -641,7 +639,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -739,12 +737,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -813,13 +811,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -899,7 +897,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -957,7 +955,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json @@ -1030,7 +1028,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1074,7 +1072,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -1222,7 +1220,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1287,13 +1285,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -1386,7 +1384,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1444,7 +1442,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b30d8ee9ae4d8..58a84df4a8d44 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library helpers.ts Matched by include pattern '**/*' in 'tsconfig.json' Imported via 'demos/helpers' from file '../app/Component-demos.ts' @@ -388,8 +388,6 @@ 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* @@ -410,7 +408,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -451,7 +449,7 @@ ScriptInfos:: containingProjects: 2 /home/src/projects/project/tsconfig.json /home/src/projects/project/demos/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -540,7 +538,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -641,7 +639,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -787,7 +785,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -886,7 +884,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -993,12 +991,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -1121,7 +1119,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1171,7 +1169,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /home/src/projects/project/tsconfig.json @@ -1244,7 +1242,7 @@ FsWatches:: {} /home/src/projects/random/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1296,7 +1294,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/random/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2d5e61d52e03f..64d69223d00e9 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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -552,8 +552,6 @@ 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* @@ -564,7 +562,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/core/tsconfig.json: *new* {} @@ -624,7 +622,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -666,12 +664,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -777,7 +775,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/core/tsconfig.json: {} @@ -841,7 +839,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -891,12 +889,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -986,12 +984,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -1081,12 +1079,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -1177,12 +1175,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -1273,12 +1271,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -1368,12 +1366,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' @@ -1505,7 +1503,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/core/tsconfig.json: {} @@ -1601,7 +1599,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5a5b386748c4e..01ac752628976 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../emit-composite/src/testModule.js Imported via './testModule' from file '../emit-composite/src/index.js' ../emit-composite/src/index.js @@ -260,8 +260,6 @@ 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* @@ -278,7 +276,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -316,7 +314,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 627f73c82487a..ba69aa1317389 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library types.ts Part of 'files' list in tsconfig.json program.ts @@ -241,8 +241,6 @@ 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 +251,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/solution/compiler/tsconfig.json: *new* {} @@ -267,7 +265,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a7e4278bc5a51..67bd98e30360e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/*.d.ts' in 'tsconfig.json' @@ -200,19 +200,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -237,7 +235,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.node.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -262,7 +260,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 2 /home/src/projects/project/tsconfig.json @@ -291,11 +289,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", "/home/src/projects/project/src/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -344,7 +342,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -367,7 +365,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -430,7 +428,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.node.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 c0ac941cf7ebd..d26b7b8715337 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -939,7 +937,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1047,7 +1045,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c7d30940b226a..fdc4399ed0088 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -778,7 +776,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -886,7 +884,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1c310e19b0851..10af23c09e4f9 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -731,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -848,7 +846,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -956,7 +954,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e0e3f0b688e1e..e76b15c4b3671 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -780,7 +778,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -942,7 +940,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79a9941a90d42..c5adfe809a32a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -739,7 +737,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -900,7 +898,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a9c449c147186..41a37ed204a34 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -737,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -844,7 +842,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a5ca3de04febd..960f8d535586b 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -78,16 +76,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -138,12 +136,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -153,7 +151,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -232,7 +230,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.es2024.full.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] 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 @@ -242,12 +240,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -416,12 +414,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -524,7 +522,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -548,7 +546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -639,7 +637,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -697,7 +695,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -809,7 +807,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -840,7 +838,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1164,7 +1162,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1195,7 +1193,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1268,7 +1266,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1301,7 +1299,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1371,7 +1369,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1402,7 +1400,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1470,7 +1468,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1504,7 +1502,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1546,12 +1544,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1599,7 +1597,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1640,7 +1638,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 03de51b80ae9b..daded4e21a400 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1133,7 +1131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1164,7 +1162,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1241,7 +1239,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1274,7 +1272,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1349,7 +1347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1378,7 +1376,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1435,7 +1433,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1467,7 +1465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1498,12 +1496,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1549,7 +1547,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1588,7 +1586,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3fa8a33aaca27..833f5bdc27eb6 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -78,16 +76,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -138,12 +136,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -153,7 +151,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -232,7 +230,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.es2024.full.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] 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 @@ -242,12 +240,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -363,7 +361,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -416,12 +414,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -524,7 +522,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -548,7 +546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -639,7 +637,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -962,7 +960,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -989,7 +987,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1053,7 +1051,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1082,7 +1080,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1143,7 +1141,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1170,7 +1168,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1229,7 +1227,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1259,7 +1257,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1290,12 +1288,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1343,7 +1341,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1380,7 +1378,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d47995fcd3946..6f9cc024899c4 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -938,7 +936,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1046,7 +1044,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 99e43a5e9036a..8d381382b13a5 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -777,7 +775,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -885,7 +883,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1a9d20e734ac6..c2fbc12f7d93a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -731,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -847,7 +845,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -955,7 +953,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1123ea76d9c72..7ae8568c56c0c 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -779,7 +777,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 25a20b3821cf0..226dc1a376cb1 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -937,7 +935,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1045,7 +1043,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8101979b53d81..a8a08e59b64f1 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -781,7 +779,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -889,7 +887,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 45832e8a81439..44e8cf8667f2b 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -731,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -851,7 +849,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -959,7 +957,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8ed3df8e7a0dc..a181a55889a37 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -783,7 +781,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -945,7 +943,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 540e8f0f1f5c6..b8b66299c982e 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +740,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -903,7 +901,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2d48cc5b0c873..c562a619a40f3 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -740,7 +738,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -847,7 +845,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4a733d0488e0f..cb9628131feed 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -237,7 +235,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.es2024.full.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] 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 @@ -247,12 +245,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -352,7 +350,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -368,7 +366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -421,12 +419,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -529,7 +527,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -553,7 +551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -645,7 +643,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -673,7 +671,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -717,7 +715,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -750,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -847,7 +845,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -878,7 +876,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1202,7 +1200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1233,7 +1231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1306,7 +1304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1339,7 +1337,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1409,7 +1407,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1440,7 +1438,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1508,7 +1506,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1542,7 +1540,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1584,12 +1582,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1636,7 +1634,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1677,7 +1675,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9e9b3e39f7bd6..2ed8631c97035 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1132,7 +1130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1163,7 +1161,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1240,7 +1238,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1273,7 +1271,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1349,7 +1347,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1380,7 +1378,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1442,7 +1440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1476,7 +1474,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1512,12 +1510,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1564,7 +1562,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1605,7 +1603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 5b93657cbe9d0..15629558804a2 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -237,7 +235,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.es2024.full.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] 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 @@ -247,12 +245,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -352,7 +350,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -368,7 +366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -421,12 +419,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -529,7 +527,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -553,7 +551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -645,7 +643,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -673,7 +671,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -990,7 +988,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1019,7 +1017,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1088,7 +1086,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1119,7 +1117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1185,7 +1183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1214,7 +1212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1278,7 +1276,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1310,7 +1308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1346,12 +1344,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1400,7 +1398,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1439,7 +1437,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ce6d60a2def86..3c334a6839542 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -928,7 +926,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1036,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 edc68beabeac2..37e7fa094df3a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -772,7 +770,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -880,7 +878,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 31f5641ce8e68..fe2247f40fc5b 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -731,7 +729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -842,7 +840,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -950,7 +948,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7cc6169c712ab..c5fd7e75b060d 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -774,7 +772,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -936,7 +934,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f1f29b5b34619..f477a995100db 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -64,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1000,7 +998,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1031,7 +1029,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1104,7 +1102,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1137,7 +1135,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1207,7 +1205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1238,7 +1236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1306,7 +1304,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1340,7 +1338,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1382,12 +1380,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1434,7 +1432,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1475,7 +1473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 dd5c5c81af8cd..c956043388e8f 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +740,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -788,7 +786,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 ecdbe2edfc138..73f646f6663da 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -240,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.es2024.full.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] 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 @@ -250,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -355,7 +353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -371,7 +369,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -556,7 +554,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -646,7 +644,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -676,7 +674,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +740,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -784,7 +782,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 943d79dc1b6cd..8f3a3900253ce 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -944,7 +942,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1052,7 +1050,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4216d4c26cd10..4ca3f206ccdd8 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -783,7 +781,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -891,7 +889,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 58243c9764651..3af2a0c048b17 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -853,7 +851,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -961,7 +959,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fba92b623ca49..f7a325b94c36d 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -785,7 +783,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -947,7 +945,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5080c63357d6d..b16f6643ca9e7 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -744,7 +742,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -905,7 +903,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 db7a1a606fd25..bdd1093c103cc 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -742,7 +740,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -849,7 +847,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6ab28d954d686..ec38f0f78fdba 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -237,7 +235,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.es2024.full.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] 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 @@ -247,12 +245,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -352,7 +350,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -368,7 +366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -421,12 +419,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -529,7 +527,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -553,7 +551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -644,7 +642,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -702,7 +700,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -814,7 +812,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -845,7 +843,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1169,7 +1167,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1200,7 +1198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1273,7 +1271,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1306,7 +1304,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1376,7 +1374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1407,7 +1405,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1475,7 +1473,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1509,7 +1507,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1551,12 +1549,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1604,7 +1602,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1645,7 +1643,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 863ab0315a857..fd796ebd4ecbd 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1138,7 +1136,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1169,7 +1167,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1246,7 +1244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1279,7 +1277,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1354,7 +1352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1383,7 +1381,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1440,7 +1438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1472,7 +1470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1503,12 +1501,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1554,7 +1552,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1593,7 +1591,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 f548f7d837260..d730b203c3a84 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -237,7 +235,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.es2024.full.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] 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 @@ -247,12 +245,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -352,7 +350,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -368,7 +366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -421,12 +419,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -529,7 +527,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -553,7 +551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -644,7 +642,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -967,7 +965,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -994,7 +992,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1058,7 +1056,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1087,7 +1085,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1148,7 +1146,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1175,7 +1173,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1234,7 +1232,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1264,7 +1262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1295,12 +1293,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1348,7 +1346,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1385,7 +1383,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 0b233eacad1e9..73f528f6d842e 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -943,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1051,7 +1049,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 771828fe0cbd6..9666770c1e19f 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -782,7 +780,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -890,7 +888,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7ae8914507dad..e0c5365788d05 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -852,7 +850,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -960,7 +958,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 157e5fdd03cf3..8e8cead394d15 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -784,7 +782,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -946,7 +944,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 32c913460d74e..1ac31df3783c4 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -942,7 +940,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1050,7 +1048,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4eeceaae12ed5..d3a2fa780f295 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -786,7 +784,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -894,7 +892,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ad9440cb14bdc..1bc506eb6eaa6 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -856,7 +854,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -964,7 +962,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 49302625787a1..4abe53d9b4879 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -788,7 +786,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -950,7 +948,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ccfcf6e0d0968..95d0345f01aed 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -747,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -908,7 +906,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cedf4af066a1b..f9f23892c49d2 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -745,7 +743,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -852,7 +850,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 758c59be59003..564491adaeeb9 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -88,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -128,7 +126,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -148,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -163,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,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.es2024.full.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] 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 @@ -252,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -357,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -373,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -426,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -534,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -558,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -650,7 +648,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -678,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -722,7 +720,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -755,7 +753,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -852,7 +850,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -883,7 +881,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1207,7 +1205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1238,7 +1236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1311,7 +1309,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1344,7 +1342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1414,7 +1412,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1445,7 +1443,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1513,7 +1511,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1547,7 +1545,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1589,12 +1587,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1641,7 +1639,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1682,7 +1680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 badcf55cb1352..2d38070c500e2 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1137,7 +1135,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1168,7 +1166,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1245,7 +1243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1278,7 +1276,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1354,7 +1352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1385,7 +1383,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1447,7 +1445,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1481,7 +1479,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1517,12 +1515,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1569,7 +1567,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1610,7 +1608,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e64b7d0abfda4..7811c5dd071f8 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -88,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -128,7 +126,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -148,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -163,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,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.es2024.full.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] 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 @@ -252,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -357,7 +355,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -373,7 +371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -426,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -534,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -558,7 +556,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -650,7 +648,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -678,7 +676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -995,7 +993,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1024,7 +1022,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1093,7 +1091,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1124,7 +1122,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1190,7 +1188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1219,7 +1217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1283,7 +1281,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1315,7 +1313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1351,12 +1349,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1405,7 +1403,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1444,7 +1442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 eea0d7b20e036..9e08409a0e3a1 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -933,7 +931,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1041,7 +1039,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 96435670d6b52..4beff060f4850 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -777,7 +775,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -885,7 +883,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 93efad97f8977..f2392ce6678e5 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -736,7 +734,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -847,7 +845,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -955,7 +953,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f934de39ad07e..ae0da4ebfaab0 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -734,7 +732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -779,7 +777,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 056a5620d8cf8..7930f6ffc8f3c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -747,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -793,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 d4583aeff2fe1..901a12fc91856 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -747,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -789,7 +787,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 e6fc14abd3334..27352e46a0d21 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -69,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1005,7 +1003,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1036,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1109,7 +1107,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1142,7 +1140,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1212,7 +1210,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1243,7 +1241,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1311,7 +1309,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1345,7 +1343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1387,12 +1385,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1439,7 +1437,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1480,7 +1478,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 f34f22baf1925..ba92d54328e61 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -747,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -793,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 6ffeb8a398807..533a9b9c2d210 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -245,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.es2024.full.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] 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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -360,7 +358,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -429,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -537,7 +535,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -561,7 +559,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -681,7 +679,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -747,7 +745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -789,7 +787,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 af958d5eaf104..cdb5e5c9a9ddd 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -211,8 +211,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -239,7 +237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -292,12 +290,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -400,7 +398,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -424,7 +422,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -515,7 +513,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -838,7 +836,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -865,7 +863,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -929,7 +927,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -958,7 +956,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1019,7 +1017,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1046,7 +1044,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1105,7 +1103,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1135,7 +1133,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1166,12 +1164,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1219,7 +1217,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1256,7 +1254,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 410a59c04086f..51cd87bb1dabf 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -945,7 +943,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1053,7 +1051,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4883fe2d0307d..24e53f1384caa 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -784,7 +782,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -892,7 +890,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f9b6423f6e8ad..d256f9926f1d4 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -737,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -854,7 +852,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -962,7 +960,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b0078256ef93c..db55ab7da98c1 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -786,7 +784,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -948,7 +946,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ac0dacaffe815..b4b248f5c02cf 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -745,7 +743,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -906,7 +904,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 99bc9f6ae9a07..f2473212ca2fc 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -743,7 +741,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -850,7 +848,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 65c62b92be220..183592b1bad24 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -84,16 +82,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -124,7 +122,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -144,12 +142,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -159,7 +157,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -238,7 +236,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.es2024.full.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] 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 @@ -248,12 +246,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -353,7 +351,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -369,7 +367,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -422,12 +420,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -530,7 +528,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -554,7 +552,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -645,7 +643,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -703,7 +701,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -815,7 +813,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -846,7 +844,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1170,7 +1168,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1201,7 +1199,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1274,7 +1272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1307,7 +1305,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1377,7 +1375,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1408,7 +1406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1476,7 +1474,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1510,7 +1508,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1552,12 +1550,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1605,7 +1603,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1646,7 +1644,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3f4a7e503d0ba..93586f0ea6f21 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1139,7 +1137,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1170,7 +1168,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1247,7 +1245,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1280,7 +1278,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1355,7 +1353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1384,7 +1382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1441,7 +1439,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1473,7 +1471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1504,12 +1502,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1555,7 +1553,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1594,7 +1592,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 141fb73d36f0b..7a05f35cee5f1 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -84,16 +82,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -124,7 +122,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -144,12 +142,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -159,7 +157,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -238,7 +236,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.es2024.full.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] 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 @@ -248,12 +246,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -353,7 +351,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -369,7 +367,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -422,12 +420,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -530,7 +528,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -554,7 +552,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -645,7 +643,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -968,7 +966,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -995,7 +993,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1059,7 +1057,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1088,7 +1086,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1149,7 +1147,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1176,7 +1174,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1235,7 +1233,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1265,7 +1263,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1296,12 +1294,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1349,7 +1347,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1386,7 +1384,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b4f4797226ba3..75b7ec484531e 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -944,7 +942,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1052,7 +1050,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 33a355fe312cc..460b69e24f25e 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -783,7 +781,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -891,7 +889,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5566160bf41b1..e241280f71842 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -737,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -853,7 +851,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -961,7 +959,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0af5322cedf2a..f1faa3be20a9c 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -785,7 +783,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -947,7 +945,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dce8379af7602..c8b35dc686edb 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -943,7 +941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1051,7 +1049,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 784360b4bcdff..e867417076bd4 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -787,7 +785,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -895,7 +893,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 257f806c1915b..d752596d14f35 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -737,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -857,7 +855,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -965,7 +963,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2e641e869a2f4..8cedc622467b8 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -789,7 +787,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -951,7 +949,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7b40c897df0cb..54be4d6aed653 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -909,7 +907,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 731f67988feeb..50b809fdc6f30 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -746,7 +744,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -853,7 +851,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2f26c4ae05f1d..1f7e6252a3771 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -89,16 +87,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -129,7 +127,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -149,12 +147,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -243,7 +241,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.es2024.full.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] 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 @@ -253,12 +251,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -358,7 +356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -374,7 +372,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -427,12 +425,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -535,7 +533,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -559,7 +557,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -679,7 +677,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -723,7 +721,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -756,7 +754,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -853,7 +851,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -884,7 +882,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1208,7 +1206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1239,7 +1237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1312,7 +1310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1345,7 +1343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1415,7 +1413,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1446,7 +1444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1514,7 +1512,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1548,7 +1546,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1590,12 +1588,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1642,7 +1640,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1683,7 +1681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d5bb30a4796da..575bc230c1da6 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1138,7 +1136,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1169,7 +1167,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1246,7 +1244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1279,7 +1277,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1355,7 +1353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1386,7 +1384,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1448,7 +1446,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1482,7 +1480,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1518,12 +1516,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1570,7 +1568,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1611,7 +1609,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 80b581f5ffd7a..ba601d0ba969b 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -89,16 +87,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -129,7 +127,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -149,12 +147,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -243,7 +241,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.es2024.full.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] 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 @@ -253,12 +251,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -358,7 +356,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -374,7 +372,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -427,12 +425,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -535,7 +533,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -559,7 +557,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -651,7 +649,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -679,7 +677,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -996,7 +994,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1025,7 +1023,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1094,7 +1092,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1125,7 +1123,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1191,7 +1189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1220,7 +1218,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1284,7 +1282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1316,7 +1314,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1352,12 +1350,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1406,7 +1404,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1445,7 +1443,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e54c87dea0d78..66c53a48f3fa0 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -934,7 +932,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1042,7 +1040,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 881b5790badde..02a3f78824d3f 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -778,7 +776,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -886,7 +884,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c06b2073c9597..d6c66076abf46 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -737,7 +735,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -848,7 +846,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -956,7 +954,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b54ad33134247..c1a245481b0d2 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -735,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -780,7 +778,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -942,7 +940,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 22225a6f77864..1b680e4eef0e9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -70,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1006,7 +1004,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1037,7 +1035,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1110,7 +1108,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1143,7 +1141,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1213,7 +1211,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1244,7 +1242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1312,7 +1310,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1346,7 +1344,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -1388,12 +1386,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -1440,7 +1438,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1481,7 +1479,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b60cecf92c00e..b3c930b7d3ae8 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -794,7 +792,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 acbe187a1cd0f..3fe8dea6e7083 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -246,7 +244,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.es2024.full.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] 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 @@ -256,12 +254,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -361,7 +359,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -377,7 +375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/dependency/tsconfig.json @@ -430,12 +428,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -538,7 +536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -562,7 +560,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/dependency/tsconfig.json @@ -652,7 +650,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/dependency/tsconfig.json @@ -790,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 92ebb5ea28ba8..dbef4af3b4bdb 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1158,12 +1156,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1488,7 +1486,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1536,13 +1534,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1617,7 +1615,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d8a93e06dda45..550c8acc19090 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1171,7 +1169,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1218,13 +1216,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1298,7 +1296,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bc13efa5ae2be..def9552ace85f 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1152,12 +1150,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1286,7 +1284,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1334,13 +1332,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1414,7 +1412,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0d8940e0109f1..805695da8a253 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1175,7 +1173,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1212,13 +1210,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1310,7 +1308,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1412,7 +1410,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 900e6dca22901..84a918b9b6292 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1154,7 +1152,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1241,7 +1239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1344,7 +1342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 adcbb8e410469..f839118a48993 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1161,7 +1159,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1227,7 +1225,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a91a252a7e708..3d858d8c25a5e 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -78,16 +76,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -138,12 +136,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -153,7 +151,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -233,7 +231,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -243,12 +241,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -365,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -421,12 +419,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -534,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -560,7 +558,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -618,12 +616,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -734,7 +732,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -768,7 +766,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -918,7 +916,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -991,7 +989,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1051,13 +1049,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1120,7 +1118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1167,7 +1165,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1965,7 +1963,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2007,7 +2005,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2094,7 +2092,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2138,7 +2136,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2222,7 +2220,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2264,7 +2262,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2346,7 +2344,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2391,7 +2389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2471,7 +2469,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2519,7 +2517,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2567,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2594,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2650,7 +2648,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2708,7 +2706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a3309e4483b54..62a0f1765f457 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1158,12 +1156,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1836,7 +1834,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1878,7 +1876,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1968,7 +1966,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2012,7 +2010,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2100,7 +2098,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2140,7 +2138,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2210,7 +2208,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2253,7 +2251,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2321,7 +2319,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2367,7 +2365,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2403,12 +2401,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -2427,12 +2425,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2481,7 +2479,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2535,7 +2533,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 16d1ccdb579c7..adce153d586ea 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -78,16 +76,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -138,12 +136,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -153,7 +151,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -233,7 +231,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -243,12 +241,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -365,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -421,12 +419,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -534,7 +532,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -560,7 +558,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -618,12 +616,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -734,7 +732,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -768,7 +766,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1126,7 +1124,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1467,7 +1465,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1504,7 +1502,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1581,7 +1579,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1620,7 +1618,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1694,7 +1692,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1731,7 +1729,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1803,7 +1801,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1843,7 +1841,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1913,7 +1911,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1956,7 +1954,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1992,12 +1990,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -2016,12 +2014,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2072,7 +2070,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2123,7 +2121,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a16a62f9eb0d2..37db4e334a032 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1158,12 +1156,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1487,7 +1485,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1535,13 +1533,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1616,7 +1614,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 46369d05251ad..e32a86a0d7e4a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1170,7 +1168,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1217,13 +1215,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1297,7 +1295,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 46ab1bc8a68b0..e0514177575b9 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1152,12 +1150,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1285,7 +1283,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1333,13 +1331,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1413,7 +1411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7d12363d965f3..1cd9fc897b862 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1174,7 +1172,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1211,13 +1209,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1309,7 +1307,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 de9c09def29fa..6c42d762aa663 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1475,7 +1473,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1585,7 +1583,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5c37bb64774da..39b2fbc583376 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1174,7 +1172,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1284,7 +1282,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 48e70e0fe1a76..79102299b2b1e 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1113,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1275,7 +1273,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1385,7 +1383,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 29b5e7e0da359..cd900e2467a22 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1177,7 +1175,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1364,7 +1362,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c66a81af6b587..b0147cf0c7894 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1122,7 +1120,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1308,7 +1306,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 56860853e5749..339623b4f0679 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1119,7 +1117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1228,7 +1226,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d925efc0640e9..d55495ece4ceb 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -239,7 +237,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -249,13 +247,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -356,7 +354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -549,7 +547,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -577,7 +575,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -639,12 +637,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -755,7 +753,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -791,7 +789,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -882,7 +880,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -999,7 +997,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1055,7 +1053,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1102,7 +1100,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1196,7 +1194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -1238,7 +1236,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2037,7 +2035,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2080,7 +2078,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2167,7 +2165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2212,7 +2210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2296,7 +2294,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2339,7 +2337,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2421,7 +2419,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2467,7 +2465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2547,7 +2545,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2596,7 +2594,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2644,13 +2642,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2671,12 +2669,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2726,7 +2724,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2785,7 +2783,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9ff6d3e5dc5a3..2f0dce35f0f32 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1819,7 +1817,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1862,7 +1860,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1953,7 +1951,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1998,7 +1996,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2088,7 +2086,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2131,7 +2129,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2207,7 +2205,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2253,7 +2251,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2327,7 +2325,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2376,7 +2374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2418,13 +2416,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2445,12 +2443,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2500,7 +2498,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2559,7 +2557,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 1180f93692e47..95eca96246ea9 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -239,7 +237,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -249,13 +247,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -356,7 +354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -549,7 +547,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -577,7 +575,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -639,12 +637,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -755,7 +753,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -791,7 +789,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -882,7 +880,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1207,7 +1205,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1538,7 +1536,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1577,7 +1575,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1660,7 +1658,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1701,7 +1699,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1781,7 +1779,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1820,7 +1818,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1898,7 +1896,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1940,7 +1938,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2016,7 +2014,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2061,7 +2059,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2103,13 +2101,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2130,12 +2128,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2187,7 +2185,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2242,7 +2240,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 29b1a483b108f..cf4b1ffe667ec 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1466,7 +1464,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1576,7 +1574,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a28152c2d8cb6..3ba4ac806b2f0 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1165,7 +1163,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1275,7 +1273,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5af7dda04fe21..631c9c8bc80e2 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1113,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1266,7 +1264,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1376,7 +1374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8a243255199f1..3d454b8f38d7e 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1110,7 +1108,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1168,7 +1166,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1355,7 +1353,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a848806d26b0a..3a60f31b201df 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -443,12 +441,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -615,7 +613,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -650,7 +648,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -734,13 +732,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -794,7 +792,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -832,7 +830,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1025,7 +1023,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1063,7 +1061,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1136,12 +1134,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -1263,7 +1261,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1308,7 +1306,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1389,7 +1387,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1432,7 +1430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1527,13 +1525,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1593,7 +1591,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1642,7 +1640,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1739,7 +1737,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1790,7 +1788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -1885,7 +1883,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1934,7 +1932,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -2148,7 +2146,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2197,7 +2195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -2297,7 +2295,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2347,7 +2345,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2429,7 +2427,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2472,7 +2470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2703,7 +2701,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2748,7 +2746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2830,7 +2828,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2873,7 +2871,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2985,7 +2983,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3032,7 +3030,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3114,7 +3112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3159,7 +3157,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3394,7 +3392,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3439,7 +3437,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3521,7 +3519,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3564,7 +3562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3874,7 +3872,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3919,7 +3917,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4001,7 +3999,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4044,7 +4042,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4155,7 +4153,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4202,7 +4200,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4284,7 +4282,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4329,7 +4327,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4564,7 +4562,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4609,7 +4607,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4691,7 +4689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4734,7 +4732,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4895,7 +4893,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4942,7 +4940,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5024,7 +5022,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5069,7 +5067,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5303,7 +5301,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5348,7 +5346,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5430,7 +5428,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5473,7 +5471,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5702,7 +5700,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5747,7 +5745,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5829,7 +5827,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5872,7 +5870,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e04eb50c318c6..1786ec3d50629 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1715,7 +1713,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1758,7 +1756,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1845,7 +1843,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1890,7 +1888,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1974,7 +1972,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2017,7 +2015,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2099,7 +2097,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2145,7 +2143,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2225,7 +2223,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2274,7 +2272,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2322,13 +2320,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2349,12 +2347,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2404,7 +2402,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2463,7 +2461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a7c059d468df4..e66014b5f19eb 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1115,7 +1113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1191,7 +1189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1243,7 +1241,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1533,7 +1531,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 1a322f0d1555b..a763415ab697a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -642,12 +640,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -758,7 +756,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -883,7 +881,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -923,7 +921,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1115,7 +1113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1191,7 +1189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1239,7 +1237,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1529,7 +1527,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 fadfa6c7682b8..562a0bfabb9f3 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1546,7 +1544,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1835,7 +1833,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a0f79a2b4dcd6..4d90fd189da18 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1170,7 +1168,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1459,7 +1457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e21573fc546fe..d971babdf38f3 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1111,7 +1109,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1276,7 +1274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1565,7 +1563,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2c53448135d8c..4a6f46c7e5b74 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1174,7 +1172,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1514,7 +1512,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7da518ed82bea..d459e2381cded 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1606,7 +1604,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 73ca95d613469..37f300643bde2 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1111,7 +1109,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1549,7 +1547,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 db60cdf1c0cac..c6b9bb850821f 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -259,7 +257,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -269,13 +267,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -376,7 +374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -400,7 +398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -447,12 +445,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -560,7 +558,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -590,7 +588,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -650,12 +648,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -766,7 +764,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -800,7 +798,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -984,7 +982,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1060,7 +1058,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1486,7 +1484,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1530,7 +1528,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2000,7 +1998,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2044,7 +2042,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2131,7 +2129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2177,7 +2175,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2261,7 +2259,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2287,7 +2285,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2369,7 +2367,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2416,7 +2414,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2496,7 +2494,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2546,7 +2544,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2594,13 +2592,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2621,12 +2619,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2677,7 +2675,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2735,7 +2733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b56a56c74f2f7..e303126544f86 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1988,7 +1986,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2032,7 +2030,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2123,7 +2121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2169,7 +2167,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2258,7 +2256,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2282,7 +2280,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2353,7 +2351,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2398,7 +2396,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2467,7 +2465,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2515,7 +2513,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2552,13 +2550,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2579,12 +2577,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2633,7 +2631,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2689,7 +2687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 24305b3bbb13a..9c401425a2474 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -259,7 +257,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -269,13 +267,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -376,7 +374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -400,7 +398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -447,12 +445,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -560,7 +558,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -590,7 +588,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -650,12 +648,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -766,7 +764,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -800,7 +798,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1192,7 +1190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1668,7 +1666,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1708,7 +1706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1786,7 +1784,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1828,7 +1826,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1903,7 +1901,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1925,7 +1923,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1998,7 +1996,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -2041,7 +2039,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2112,7 +2110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2158,7 +2156,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2195,13 +2193,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2222,12 +2220,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2278,7 +2276,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2332,7 +2330,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b12681eb6ae58..c31e5fd147612 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1545,7 +1543,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1834,7 +1832,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 de5bd7bbe997a..9374b8bf05cb0 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1169,7 +1167,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1458,7 +1456,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4320e3175f26b..c41f4be207252 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1111,7 +1109,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1275,7 +1273,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1564,7 +1562,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1e238705dc456..86d1857b88585 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1107,7 +1105,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1173,7 +1171,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1513,7 +1511,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b5ee27a262370..6c97eb9e5e2d8 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1534,7 +1532,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1817,7 +1815,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 627689cdcee0e..a5b007b52dea4 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1168,7 +1166,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1451,7 +1449,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 79ba387699dad..a4c4de3f13e4e 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1108,7 +1106,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1271,7 +1269,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1554,7 +1552,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9756221e755bf..5fa20fe5e2f95 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1171,7 +1169,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1508,7 +1506,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 86164a71ca810..a50a04ff02d8b 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1117,7 +1115,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1609,7 +1607,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a7b4c778b7cbf..ec9da8f745fbf 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1552,7 +1550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 9ddf42d65d45e..617af9811865c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -88,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -128,7 +126,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -148,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -163,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -264,7 +262,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -274,13 +272,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -381,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -405,7 +403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -452,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -565,7 +563,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -595,7 +593,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,12 +653,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -771,7 +769,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -805,7 +803,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -990,7 +988,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1031,7 +1029,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1086,7 +1084,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1134,7 +1132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1557,7 +1555,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1601,7 +1599,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2071,7 +2069,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2115,7 +2113,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2202,7 +2200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2248,7 +2246,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2332,7 +2330,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2358,7 +2356,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2440,7 +2438,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2487,7 +2485,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2567,7 +2565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2617,7 +2615,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2665,13 +2663,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2692,12 +2690,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2747,7 +2745,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2805,7 +2803,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 381397f6d5e5b..ca5454d8f7f7a 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1979,7 +1977,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2023,7 +2021,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2114,7 +2112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2160,7 +2158,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2250,7 +2248,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2276,7 +2274,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2352,7 +2350,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2399,7 +2397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2473,7 +2471,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2523,7 +2521,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2565,13 +2563,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2592,12 +2590,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2647,7 +2645,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2705,7 +2703,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8cd49178021a0..be745c4c24c59 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -88,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -128,7 +126,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -148,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -163,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -264,7 +262,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -274,13 +272,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -381,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -405,7 +403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -452,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -565,7 +563,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -595,7 +593,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,12 +653,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -771,7 +769,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -805,7 +803,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1198,7 +1196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1239,7 +1237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1702,7 +1700,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1744,7 +1742,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1827,7 +1825,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1871,7 +1869,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1951,7 +1949,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1975,7 +1973,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2053,7 +2051,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2098,7 +2096,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2174,7 +2172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2222,7 +2220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2264,13 +2262,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2291,12 +2289,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2348,7 +2346,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2404,7 +2402,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 301fc6db4a77d..9b17d7de31be0 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1525,7 +1523,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1808,7 +1806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e58f48be2fd0d..bfeefbec84192 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1159,7 +1157,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1442,7 +1440,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 50d4b68e11044..3a5384513833b 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1108,7 +1106,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1262,7 +1260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1545,7 +1543,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a5325960c494a..636bfb933dc29 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1105,7 +1103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1162,7 +1160,7 @@ Timeout callback:: count: 3 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1499,7 +1497,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cfeae1db94452..6e6a7a9e41045 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1166,7 +1164,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -1457,7 +1455,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 072de8e75fb82..77b856597ee68 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1114,7 +1112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1162,7 +1160,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -1453,7 +1451,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 fa2354335388e..b664f24a2a80c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -456,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -628,7 +626,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -658,7 +656,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -730,13 +728,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -790,7 +788,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -827,7 +825,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1024,7 +1022,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1061,7 +1059,7 @@ Projects:: /user/username/projects/myproject/main/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1126,12 +1124,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -1254,7 +1252,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1300,7 +1298,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1373,7 +1371,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1413,7 +1411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1499,13 +1497,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1565,7 +1563,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -1613,7 +1611,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1702,7 +1700,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1752,7 +1750,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -1839,7 +1837,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1887,7 +1885,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -2105,7 +2103,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2153,7 +2151,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -2246,7 +2244,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2295,7 +2293,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2369,7 +2367,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2409,7 +2407,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2637,7 +2635,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2679,7 +2677,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2750,7 +2748,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2790,7 +2788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2892,7 +2890,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2936,7 +2934,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3007,7 +3005,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -3049,7 +3047,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3286,7 +3284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -3328,7 +3326,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3399,7 +3397,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -3439,7 +3437,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3504,13 +3502,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -3603,7 +3601,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -3650,7 +3648,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3736,13 +3734,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -3854,7 +3852,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -3898,7 +3896,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3976,7 +3974,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4020,7 +4018,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4094,7 +4092,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4134,7 +4132,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4240,7 +4238,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4285,7 +4283,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4356,7 +4354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4399,7 +4397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4520,7 +4518,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -4643,7 +4641,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4685,7 +4683,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4756,7 +4754,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -4796,7 +4794,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4861,13 +4859,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -4960,7 +4958,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -5007,7 +5005,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5084,7 +5082,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -5128,7 +5126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5202,7 +5200,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -5244,7 +5242,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5330,13 +5328,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -5448,7 +5446,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -5492,7 +5490,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5570,7 +5568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -5614,7 +5612,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5688,7 +5686,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -5728,7 +5726,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5845,7 +5843,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -5968,7 +5966,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -6010,7 +6008,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -6081,7 +6079,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -6121,7 +6119,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 542cbc1600576..1a4e410bc4d8a 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1199,7 +1197,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1242,7 +1240,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1712,7 +1710,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1756,7 +1754,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1843,7 +1841,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1889,7 +1887,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1973,7 +1971,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1999,7 +1997,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2081,7 +2079,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2128,7 +2126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2208,7 +2206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2258,7 +2256,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2306,13 +2304,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2333,12 +2331,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2388,7 +2386,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2446,7 +2444,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d216ddf5084af..0bc055f21a577 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1113,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1190,7 +1188,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1242,7 +1240,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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;" @@ -1533,7 +1531,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 a9279e8bae2c9..d7dc866c616ce 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -455,12 +453,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -568,7 +566,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -658,12 +656,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -774,7 +772,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -808,7 +806,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -991,7 +989,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1113,7 +1111,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1190,7 +1188,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1238,7 +1236,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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;" @@ -1529,7 +1527,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 a809bb90756b0..e305dbd0b1dd6 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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -235,8 +235,6 @@ 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* @@ -249,7 +247,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -271,7 +269,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -318,12 +316,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -433,7 +431,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -461,7 +459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -521,12 +519,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -639,7 +637,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -671,7 +669,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1065,7 +1063,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1541,7 +1539,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1579,7 +1577,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1659,7 +1657,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1699,7 +1697,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1776,7 +1774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1796,7 +1794,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1871,7 +1869,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1912,7 +1910,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1985,7 +1983,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -2029,7 +2027,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2066,13 +2064,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2093,12 +2091,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2151,7 +2149,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2203,7 +2201,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9731bf03b886a..48477c4405348 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1176,12 +1174,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1506,7 +1504,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1554,13 +1552,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1635,7 +1633,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 99446fc38efd0..ff6c160644b4d 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1189,7 +1187,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1236,13 +1234,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1316,7 +1314,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5d9779dcea48c..f022a48eec247 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1132,7 +1130,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1170,12 +1168,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1304,7 +1302,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1352,13 +1350,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1432,7 +1430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f02e5942717f3..ba30fd10df0c4 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1193,7 +1191,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1230,13 +1228,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1328,7 +1326,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1430,7 +1428,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1eca307af2566..e7d0f8aa1cf58 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1135,7 +1133,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1172,7 +1170,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1259,7 +1257,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1362,7 +1360,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fd574f6968bf9..387d695427d7a 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1132,7 +1130,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1179,7 +1177,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -1245,7 +1243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f2e3e7f2e6531..8e88f64e9be8b 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -84,16 +82,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -124,7 +122,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -144,12 +142,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -159,7 +157,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -260,7 +258,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -270,12 +268,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -375,7 +373,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -578,7 +576,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -636,12 +634,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -752,7 +750,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -786,7 +784,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -936,7 +934,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1009,7 +1007,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: *new* {} @@ -1069,13 +1067,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1138,7 +1136,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -1185,7 +1183,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1983,7 +1981,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2025,7 +2023,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2112,7 +2110,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2156,7 +2154,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2240,7 +2238,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2266,7 +2264,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2348,7 +2346,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2393,7 +2391,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2473,7 +2471,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts: {} @@ -2521,7 +2519,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2569,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2596,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2652,7 +2650,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2710,7 +2708,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 edf884c2d8b11..9c5b87bb02388 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1176,12 +1174,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1854,7 +1852,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1896,7 +1894,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1986,7 +1984,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2030,7 +2028,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2118,7 +2116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2142,7 +2140,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2212,7 +2210,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2255,7 +2253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2323,7 +2321,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2369,7 +2367,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2405,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -2429,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2483,7 +2481,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2537,7 +2535,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 dab722e5c1b1b..33182812d4548 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -84,16 +82,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -124,7 +122,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -144,12 +142,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -159,7 +157,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -260,7 +258,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -270,12 +268,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -375,7 +373,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -439,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -552,7 +550,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -578,7 +576,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -636,12 +634,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -752,7 +750,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -786,7 +784,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1144,7 +1142,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1485,7 +1483,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1522,7 +1520,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1599,7 +1597,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1638,7 +1636,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1712,7 +1710,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1734,7 +1732,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1806,7 +1804,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -1846,7 +1844,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1916,7 +1914,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1959,7 +1957,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1995,12 +1993,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -2019,12 +2017,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2075,7 +2073,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2126,7 +2124,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a22882e69358d..e4214ed985cb7 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1176,12 +1174,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1505,7 +1503,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1553,13 +1551,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1634,7 +1632,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3f9b0be5167f1..dc2bfd50cccb2 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1188,7 +1186,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1235,13 +1233,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1315,7 +1313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4e6e52e83f7ac..655c8135877c6 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1132,7 +1130,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1170,12 +1168,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1303,7 +1301,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1351,13 +1349,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1431,7 +1429,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d559cc90d633d..784ddb8a0a030 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1192,7 +1190,7 @@ Timeout callback:: count: 4 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1229,13 +1227,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1327,7 +1325,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a8dd03a63d66d..69cbf6314d1c2 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1493,7 +1491,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1603,7 +1601,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 34a18d579cf6c..35a690afb217a 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1192,7 +1190,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1302,7 +1300,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 80dd990b79580..1034804613b9b 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1131,7 +1129,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1293,7 +1291,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1403,7 +1401,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ff777c07373cd..a872a89fef969 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1195,7 +1193,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1382,7 +1380,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a6d4660ce634e..d0661856e1072 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1140,7 +1138,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1326,7 +1324,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0a47536347859..32852c66bd059 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1137,7 +1135,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1246,7 +1244,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5995f3e935bf2..cd14a9334838d 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -89,16 +87,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -129,7 +127,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -149,12 +147,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -266,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -454,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -567,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -595,7 +593,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -657,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -773,7 +771,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -809,7 +807,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -900,7 +898,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1017,7 +1015,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1073,7 +1071,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1120,7 +1118,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1214,7 +1212,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -1256,7 +1254,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2055,7 +2053,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2098,7 +2096,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2185,7 +2183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2230,7 +2228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2314,7 +2312,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2340,7 +2338,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2422,7 +2420,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2468,7 +2466,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2548,7 +2546,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2597,7 +2595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2645,13 +2643,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2672,12 +2670,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2727,7 +2725,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2786,7 +2784,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 9a7c34510a4b4..537981303952d 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1837,7 +1835,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1880,7 +1878,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1971,7 +1969,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2016,7 +2014,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2106,7 +2104,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2132,7 +2130,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2208,7 +2206,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2254,7 +2252,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2328,7 +2326,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2377,7 +2375,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2419,13 +2417,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2446,12 +2444,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2501,7 +2499,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2560,7 +2558,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b13742d6505c4..f9d9166d44a5c 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -89,16 +87,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -129,7 +127,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -149,12 +147,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -266,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -454,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -567,7 +565,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -595,7 +593,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -657,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -773,7 +771,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -809,7 +807,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -900,7 +898,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1225,7 +1223,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1556,7 +1554,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1595,7 +1593,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1678,7 +1676,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1719,7 +1717,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1799,7 +1797,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1823,7 +1821,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1901,7 +1899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1943,7 +1941,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2019,7 +2017,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -2064,7 +2062,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2106,13 +2104,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2133,12 +2131,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2190,7 +2188,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2245,7 +2243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 b83288567ce0d..3f20e1edf3c7d 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1484,7 +1482,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1594,7 +1592,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b0cef427124d7..aa58dfe71c664 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1183,7 +1181,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1293,7 +1291,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0fb84ef28e33d..b29fa02f8cdc3 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1131,7 +1129,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1284,7 +1282,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1394,7 +1392,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 faa17460e1c69..64acbad14b519 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1186,7 +1184,7 @@ Timeout callback:: count: 3 8: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1373,7 +1371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 576d45c46bb17..c841d9e6f1c24 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -461,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -633,7 +631,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -668,7 +666,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -752,13 +750,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -812,7 +810,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -850,7 +848,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1056,7 +1054,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1094,7 +1092,7 @@ Projects:: /user/username/projects/myproject/dependency/tsconfig.json ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1167,12 +1165,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -1294,7 +1292,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1339,7 +1337,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1420,7 +1418,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1463,7 +1461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1558,13 +1556,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1624,7 +1622,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1673,7 +1671,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 4 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -1770,7 +1768,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1821,7 +1819,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -1916,7 +1914,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1965,7 +1963,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 4 /user/username/projects/myproject/main/tsconfig.json @@ -2192,7 +2190,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2241,7 +2239,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -2341,7 +2339,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2391,7 +2389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2473,7 +2471,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2516,7 +2514,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2754,7 +2752,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2799,7 +2797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2881,7 +2879,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2924,7 +2922,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3036,7 +3034,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3083,7 +3081,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3165,7 +3163,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3210,7 +3208,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3458,7 +3456,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3503,7 +3501,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3585,7 +3583,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3628,7 +3626,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -3702,7 +3700,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -3793,7 +3791,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -3903,7 +3901,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -4013,7 +4011,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4110,7 +4108,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4155,7 +4153,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4237,7 +4235,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4280,7 +4278,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4396,7 +4394,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4444,7 +4442,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4526,7 +4524,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4572,7 +4570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4703,7 +4701,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -4825,7 +4823,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4870,7 +4868,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -4952,7 +4950,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -4995,7 +4993,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5069,7 +5067,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -5160,7 +5158,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5260,7 +5258,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5305,7 +5303,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5387,7 +5385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5430,7 +5428,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5523,7 +5521,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -5633,7 +5631,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5730,7 +5728,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5775,7 +5773,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -5857,7 +5855,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -5900,7 +5898,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -6027,7 +6025,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -6149,7 +6147,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -6194,7 +6192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -6276,7 +6274,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -6319,7 +6317,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 712fc371b37bd..ae61278f1b1e7 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1733,7 +1731,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1776,7 +1774,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1863,7 +1861,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1908,7 +1906,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1992,7 +1990,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2018,7 +2016,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2100,7 +2098,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2146,7 +2144,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2226,7 +2224,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -2275,7 +2273,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -2323,13 +2321,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2350,12 +2348,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -2405,7 +2403,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -2464,7 +2462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 806b0c5ba7d7f..ee051b7bc4c33 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1133,7 +1131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1209,7 +1207,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1261,7 +1259,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1551,7 +1549,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 c55d42c6acd7e..bd3fee7c04184 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library FnS.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -598,7 +596,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -660,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -776,7 +774,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -901,7 +899,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -941,7 +939,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1133,7 +1131,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1209,7 +1207,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /user/username/projects/myproject/main/tsconfig.json @@ -1257,7 +1255,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -1547,7 +1545,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 69eaa047d40ea..b326e0e61d86a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -973,7 +971,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1008,7 +1006,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1085,7 +1083,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1122,7 +1120,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1196,7 +1194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1231,7 +1229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1303,7 +1301,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1341,7 +1339,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1387,13 +1385,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1445,7 +1443,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1490,7 +1488,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e076702be8c45..77023e5a5cac8 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -794,12 +792,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -938,7 +936,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -984,13 +982,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1057,7 +1055,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 61f183db5f816..832502ec1473a 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -802,7 +800,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -847,13 +845,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -919,7 +917,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c815dbc4340ab..351c8aa516c3c 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -751,7 +749,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -787,12 +785,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -877,7 +875,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -923,13 +921,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -994,7 +992,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cb43a121055c1..30886f39d6079 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -805,7 +803,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -840,13 +838,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -914,7 +912,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1008,7 +1006,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 806ec799bad6d..144af80da4524 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -754,7 +752,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -789,7 +787,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -852,7 +850,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -947,7 +945,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 23c14c012f69c..240d5d18a73d4 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -752,7 +750,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -797,7 +795,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -856,7 +854,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 26dabbe12d28b..240bae32f404d 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -78,16 +76,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -138,12 +136,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -153,7 +151,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -233,7 +231,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -243,12 +241,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -365,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -418,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -526,7 +524,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -552,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -651,13 +649,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -719,7 +717,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -757,7 +755,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1041,7 +1039,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1075,7 +1073,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1152,7 +1150,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1188,7 +1186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1262,7 +1260,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1296,7 +1294,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1368,7 +1366,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1405,7 +1403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1451,13 +1449,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1509,7 +1507,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1553,7 +1551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 231948573c6bb..ba95e34a17607 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -794,12 +792,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1116,7 +1114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1150,7 +1148,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1231,7 +1229,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -1267,7 +1265,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1345,7 +1343,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/main.ts: *new* {} @@ -1373,7 +1371,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1430,7 +1428,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/main.ts: {} @@ -1461,7 +1459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1492,12 +1490,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1544,7 +1542,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1580,7 +1578,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 41d1b6be16e69..c10834a245f6e 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -78,16 +76,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -118,7 +116,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -138,12 +136,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -153,7 +151,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -192,7 +190,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -233,7 +231,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -243,12 +241,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -347,7 +345,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/main/tsconfig.json: *new* {} @@ -365,7 +363,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -418,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -526,7 +524,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -552,7 +550,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -870,7 +868,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -899,7 +897,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -961,7 +959,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/tsconfig.json: {} @@ -992,7 +990,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1051,7 +1049,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/main.ts: *new* {} @@ -1080,7 +1078,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1137,7 +1135,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/main/main.ts: {} @@ -1169,7 +1167,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1200,12 +1198,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1252,7 +1250,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1289,7 +1287,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7f30955d7225f..be8fe291d7c18 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -794,12 +792,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -937,7 +935,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -983,13 +981,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1056,7 +1054,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e03259c1a74d0..444bac2f3a342 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -801,7 +799,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -846,13 +844,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -918,7 +916,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 67de92b73ecdb..e8fbfce760a0b 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -751,7 +749,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -787,12 +785,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -876,7 +874,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -922,13 +920,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -993,7 +991,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 bc08cae4368a3..5ba7b2992a685 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -804,7 +802,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -839,13 +837,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -913,7 +911,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 98bd06536a08a..8e25e50105057 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -940,7 +938,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1041,7 +1039,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 719efc3cd7bcb..50a1746f25ab7 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -806,7 +804,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -907,7 +905,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c0081774125d3..cb7c70c9903f1 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -750,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -876,7 +874,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -977,7 +975,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3e25085abe480..bcfab308cc6d0 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -808,7 +806,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -963,7 +961,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 82d4ed4e3307b..0532d781b7ae8 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -759,7 +757,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -913,7 +911,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 32d3213a1ea3b..1b4306b512814 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -757,7 +755,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -857,7 +855,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5e3859255b1bb..fa8a99e1f4ae2 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -239,7 +237,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -249,13 +247,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -356,7 +354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -433,12 +431,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -541,7 +539,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -569,7 +567,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -653,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -709,7 +707,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -812,7 +810,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -847,7 +845,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1131,7 +1129,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1166,7 +1164,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1243,7 +1241,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1280,7 +1278,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1354,7 +1352,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1389,7 +1387,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1461,7 +1459,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1499,7 +1497,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1545,13 +1543,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1603,7 +1601,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1648,7 +1646,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 23da3555ab765..193167a22940d 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1100,7 +1098,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1135,7 +1133,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1216,7 +1214,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1253,7 +1251,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1333,7 +1331,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1368,7 +1366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1434,7 +1432,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1472,7 +1470,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1512,13 +1510,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1570,7 +1568,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1615,7 +1613,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 62c882c4dcccb..4b3b83d1e26aa 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -239,7 +237,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -249,13 +247,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -356,7 +354,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -376,7 +374,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -433,12 +431,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -541,7 +539,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -569,7 +567,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -653,7 +651,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -936,7 +934,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -967,7 +965,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1035,7 +1033,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1068,7 +1066,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1133,7 +1131,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1164,7 +1162,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1227,7 +1225,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1261,7 +1259,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1296,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1355,7 +1353,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1396,7 +1394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 832023420e3bd..f26209ad8b445 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -931,7 +929,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1032,7 +1030,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a0ffb48814810..b6907fafdfd57 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -797,7 +795,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -898,7 +896,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a61c52653e5db..270805dbaf499 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -750,7 +748,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -867,7 +865,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -968,7 +966,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 92a0c09a81b5a..377879109a5fb 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -799,7 +797,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -954,7 +952,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 62e33b6a3f397..30474549a3f08 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -759,7 +757,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -809,7 +807,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 b9100f545b693..c020cadc14dfb 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,8 +64,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -86,16 +84,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -126,7 +124,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -146,12 +144,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -161,7 +159,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -200,7 +198,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -242,7 +240,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -252,13 +250,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -379,7 +377,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -436,12 +434,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -544,7 +542,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -572,7 +570,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -655,7 +653,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -689,7 +687,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -759,7 +757,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -805,7 +803,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 a840dd84dfe4a..370391b8aad4f 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -927,7 +925,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -962,7 +960,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1028,7 +1026,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1065,7 +1063,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1128,7 +1126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1163,7 +1161,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1224,7 +1222,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1262,7 +1260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1297,13 +1295,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1356,7 +1354,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1399,7 +1397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 91f1b2fe7652f..62a4ff143fa64 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4fdb09dfcf607..6b05b02237421 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 46e525f93c0b2..21afb94f00b47 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d3c7bb8726e74..08d8fbb96cc19 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8fe561da0c442..c90301826b0c6 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 deda503ff8888..dab50e0f45e35 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a14a7afa964b6..fba4d4fe0086f 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -259,7 +257,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -269,13 +267,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -376,7 +374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -400,7 +398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -565,7 +563,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -597,7 +595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -988,7 +986,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1023,7 +1021,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1089,7 +1087,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1126,7 +1124,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1189,7 +1187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1224,7 +1222,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1285,7 +1283,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1323,7 +1321,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1358,13 +1356,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1417,7 +1415,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1460,7 +1458,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3fd7cf4c4a0fe..8aa6545b0d842 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -989,7 +987,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1024,7 +1022,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1090,7 +1088,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1127,7 +1125,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1190,7 +1188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1225,7 +1223,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1286,7 +1284,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1324,7 +1322,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1359,13 +1357,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1418,7 +1416,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1461,7 +1459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 440e7ecbae351..c9cce9e38a660 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -83,16 +81,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -123,7 +121,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -143,12 +141,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -158,7 +156,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -197,7 +195,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -259,7 +257,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -269,13 +267,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -376,7 +374,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -400,7 +398,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -457,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/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -565,7 +563,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -597,7 +595,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -919,7 +917,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -954,7 +952,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1020,7 +1018,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1057,7 +1055,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1120,7 +1118,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1155,7 +1153,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1216,7 +1214,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1254,7 +1252,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1289,13 +1287,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1348,7 +1346,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1391,7 +1389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ee105abbc4a81..722704b2841d0 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 6cd44984ca357..93c07ef9e6f17 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c15d4cc1dab87..2a157e49c4150 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d1c4fa1d6be2b..b00df44df266c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 35d77bff38541..074c0a75c390c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 594277d0500fa..4d3ece846db1e 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a361beea74eaa..1224ccbec266c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 1c2d5d74f1c15..049ca84f2f9f2 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 32b624c11d60e..264622de00353 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e784ed7a6ee82..036aaf3de1d5c 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 1f795f5bce2d3..554d1435571a3 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -88,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -128,7 +126,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -148,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -163,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -264,7 +262,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -274,13 +272,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -381,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -405,7 +403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +460,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -602,7 +600,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -981,7 +979,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1016,7 +1014,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1082,7 +1080,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1119,7 +1117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1182,7 +1180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1217,7 +1215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1278,7 +1276,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1316,7 +1314,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1351,13 +1349,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1410,7 +1408,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1453,7 +1451,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8d139eb7393e7..68ef3023daa37 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -982,7 +980,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1017,7 +1015,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1083,7 +1081,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1120,7 +1118,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1183,7 +1181,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1218,7 +1216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1279,7 +1277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1317,7 +1315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1352,13 +1350,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1411,7 +1409,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1454,7 +1452,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 e299b6e7713dd..803dcb121f98e 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -88,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -128,7 +126,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -148,12 +146,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -163,7 +161,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -202,7 +200,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -264,7 +262,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -274,13 +272,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -381,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -405,7 +403,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -462,12 +460,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -602,7 +600,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -924,7 +922,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -959,7 +957,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1025,7 +1023,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1062,7 +1060,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1125,7 +1123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1160,7 +1158,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1221,7 +1219,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1259,7 +1257,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1294,13 +1292,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1353,7 +1351,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1396,7 +1394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a1095f0745420..71d6d1e482a79 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7b15df1ce92ea..679291cdb8c24 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 1acf1b4f5c4a9..804b194d51f73 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 1659032f2503e..f4b3820cc4f37 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c88db2ffa56e3..083c494414dd3 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -708,7 +706,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -732,7 +730,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -793,7 +791,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 84bf583c66b34..daf30f5978f25 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -706,7 +704,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -740,7 +738,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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" @@ -799,7 +797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6595926ae6348..d886681854b6f 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -713,7 +711,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -752,7 +750,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 62c65b087970c..9b2030c09bab6 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,8 +69,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -91,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -131,7 +129,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -151,12 +149,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -166,7 +164,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -205,7 +203,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -267,7 +265,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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,13 +275,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -713,7 +711,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -748,7 +746,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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 6e61e59541ff4..98e149436b319 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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -235,8 +235,6 @@ 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* @@ -249,7 +247,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/FnS.ts: *new* {} @@ -271,7 +269,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -328,12 +326,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -438,7 +436,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -468,7 +466,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -792,7 +790,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -825,7 +823,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -893,7 +891,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -928,7 +926,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -993,7 +991,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1026,7 +1024,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1089,7 +1087,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/FnS.ts: {} @@ -1125,7 +1123,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1160,13 +1158,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/dependency/FnS.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1221,7 +1219,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1262,7 +1260,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7198618500996..9c67aef99788d 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1013,7 +1011,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1052,7 +1050,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1129,7 +1127,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1170,7 +1168,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1244,7 +1242,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1283,7 +1281,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1355,7 +1353,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1397,7 +1395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1443,13 +1441,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1504,7 +1502,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1553,7 +1551,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 7dcaeed7de522..3f077d7ee569c 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -834,12 +832,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -978,7 +976,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1024,13 +1022,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1097,7 +1095,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 22a3b95100480..d121673f465b8 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -842,7 +840,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -887,13 +885,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -959,7 +957,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 12887d9895e19..392693b44c8f3 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -791,7 +789,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -827,12 +825,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -917,7 +915,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -963,13 +961,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1034,7 +1032,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f09677d06eb10..7c73f18839102 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -845,7 +843,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -880,13 +878,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -954,7 +952,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1048,7 +1046,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fcb21c10a35ae..296aa98c2ca11 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -794,7 +792,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -829,7 +827,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -892,7 +890,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -987,7 +985,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8fb2ec9f50ba9..19c08177ff5d7 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -792,7 +790,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -837,7 +835,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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" @@ -896,7 +894,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b4e1fd5f7618d..156497007c5b8 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -84,16 +82,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -124,7 +122,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -144,12 +142,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -159,7 +157,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -260,7 +258,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -270,12 +268,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -375,7 +373,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -450,12 +448,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -558,7 +556,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -588,7 +586,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -687,13 +685,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -755,7 +753,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -797,7 +795,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1081,7 +1079,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1119,7 +1117,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1196,7 +1194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1236,7 +1234,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1310,7 +1308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1348,7 +1346,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1420,7 +1418,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1461,7 +1459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1507,13 +1505,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1568,7 +1566,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1616,7 +1614,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 f0b934aeeb40d..6d4da02c472ce 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -834,12 +832,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1156,7 +1154,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1194,7 +1192,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1275,7 +1273,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1315,7 +1313,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1393,7 +1391,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1425,7 +1423,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1482,7 +1480,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1517,7 +1515,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1548,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/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) - /home/src/tslibs/TS/Lib/lib.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1603,7 +1601,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1643,7 +1641,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 15879cc5184ff..33525fd0df09f 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -84,16 +82,16 @@ export function fn5() { } {"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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -124,7 +122,7 @@ export function fn5() { } }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -144,12 +142,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -159,7 +157,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -198,7 +196,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -260,7 +258,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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -270,12 +268,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -375,7 +373,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/dependency/tsconfig.json: *new* {} @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -450,12 +448,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -558,7 +556,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -588,7 +586,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -906,7 +904,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -939,7 +937,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1001,7 +999,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1036,7 +1034,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1095,7 +1093,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1128,7 +1126,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1185,7 +1183,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/dependency/tsconfig.json: {} @@ -1221,7 +1219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1252,12 +1250,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -1307,7 +1305,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1348,7 +1346,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 35776d1b7e346..28a3211d6a6bb 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -834,12 +832,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -977,7 +975,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1023,13 +1021,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1096,7 +1094,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dbe42b318d030..11f97b1811d2f 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -841,7 +839,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -886,13 +884,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -958,7 +956,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 38cbb9e8ac3c6..ca7a60f47ad94 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -791,7 +789,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -827,12 +825,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -916,7 +914,7 @@ Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -962,13 +960,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1033,7 +1031,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8b051abfde5c9..5f47c175906fd 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -844,7 +842,7 @@ Timeout callback:: count: 3 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -879,13 +877,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -953,7 +951,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5e6f1f374a4bb..6a022784b9ee9 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -980,7 +978,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1081,7 +1079,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b483f9f31a01d..5efd0a891789b 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -846,7 +844,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -947,7 +945,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c60e3d99433d5..f8e033498ec93 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -790,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -916,7 +914,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1017,7 +1015,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5f971967bf6ce..4145eb46b64b0 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -848,7 +846,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1003,7 +1001,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 5b794becdc534..2e6d1fecd6c25 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -799,7 +797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -953,7 +951,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ce1e65f3e49af..181caa38c95b6 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -797,7 +795,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -897,7 +895,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b53da016989f6..112514f144a5d 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -89,16 +87,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -129,7 +127,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -149,12 +147,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -266,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -689,7 +687,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -749,7 +747,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -856,7 +854,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -895,7 +893,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1179,7 +1177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1218,7 +1216,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1295,7 +1293,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1336,7 +1334,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1410,7 +1408,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1449,7 +1447,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1521,7 +1519,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1563,7 +1561,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1609,13 +1607,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1670,7 +1668,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1719,7 +1717,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 a43ea8daec6ba..7923d955f59d6 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1140,7 +1138,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1179,7 +1177,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1260,7 +1258,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1301,7 +1299,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1381,7 +1379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1420,7 +1418,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1486,7 +1484,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: {} @@ -1528,7 +1526,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1568,13 +1566,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1629,7 +1627,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1678,7 +1676,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8d66da82bcc0a..bf7ddc73f5d98 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -89,16 +87,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -129,7 +127,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -149,12 +147,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -164,7 +162,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -203,7 +201,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -266,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 +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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -408,7 +406,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -465,12 +463,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -573,7 +571,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -605,7 +603,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -689,7 +687,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -976,7 +974,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1011,7 +1009,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1079,7 +1077,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1116,7 +1114,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1181,7 +1179,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1216,7 +1214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1279,7 +1277,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -1317,7 +1315,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1352,13 +1350,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/myproject/decls/fns.d.ts /user/username/projects/myproject/main/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1414,7 +1412,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/random/tsconfig.json: {} @@ -1459,7 +1457,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 ec2f22f6f46e5..6096c93af4246 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -971,7 +969,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1072,7 +1070,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c5fc5626790bc..7aa19a00106f4 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -837,7 +835,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -938,7 +936,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 4cb5e9f9483ee..7676ad7d22bd4 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -790,7 +788,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -907,7 +905,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -1008,7 +1006,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 db5b666a1b05e..061f687fc2f33 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -788,7 +786,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -839,7 +837,7 @@ Timeout callback:: count: 2 4: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -994,7 +992,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 12f34affaf492..8f790103922cb 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -799,7 +797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -849,7 +847,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 194a53154d3ca..d92361fc570d0 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,8 +70,6 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts] *Lib* - //// [/user/username/projects/myproject/dependency/FnS.js] export function fn1() { } export function fn2() { } @@ -92,16 +90,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.es2024.full.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "./fns.ts" ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -132,7 +130,7 @@ export declare function fn5(): void; }, "latestChangedDtsFile": "../decls/FnS.d.ts", "version": "FakeTSVersion", - "size": 1080 + "size": 1068 } //// [/user/username/projects/myproject/main/main.js] @@ -152,12 +150,12 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../home/src/tslibs/ts/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts", + "../../../../../home/src/tslibs/ts/lib/lib.d.ts", "../decls/fns.d.ts", "./main.ts" ], @@ -167,7 +165,7 @@ export {}; ] ], "fileInfos": { - "../../../../../home/src/tslibs/ts/lib/lib.es2024.full.d.ts": { + "../../../../../home/src/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 @@ -206,7 +204,7 @@ export {}; }, "latestChangedDtsFile": "./main.d.ts", "version": "FakeTSVersion", - "size": 1125 + "size": 1113 } @@ -269,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/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.es2024.full.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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/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 @@ -279,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/decls/fns.d.ts: *new* {} @@ -411,7 +409,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/main/tsconfig.json @@ -468,12 +466,12 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/random/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/random/tsconfig.json' (Configured) 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/random/random.ts SVC-1-0 "let a = 10;" - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library random.ts Matched by default include pattern '**/*' @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/fns.d.ts: {} @@ -608,7 +606,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/main/tsconfig.json @@ -691,7 +689,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {} @@ -729,7 +727,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -799,7 +797,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/main/tsconfig.json @@ -845,7 +843,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 c9e58649cc854..4e115f918c411 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library ../shared/src/logging.ts Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' ../shared/src/myClass.ts @@ -302,8 +302,6 @@ 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* @@ -316,7 +314,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspaces/solution/projects/server/tsconfig.json: *new* {} @@ -349,7 +347,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -403,7 +401,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -430,7 +428,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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" @@ -489,7 +487,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -549,7 +547,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -577,14 +575,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library ../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 1c74928ed13d6..3e263cbf4c549 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library ../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,8 +302,6 @@ 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* @@ -316,7 +314,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /home/src/workspaces/solution/projects/server/tsconfig.json: *new* {} @@ -349,7 +347,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -403,7 +401,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -430,7 +428,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -489,7 +487,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -549,7 +547,7 @@ Projects:: initialLoadPending: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/workspaces/solution/projects/server/tsconfig.json @@ -577,14 +575,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library ../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 7dad1c96fa9c8..af472b8604d29 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../b/app.ts Referenced via '../b/app.ts' from file 'f.ts' f.ts @@ -167,8 +167,6 @@ 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* @@ -179,7 +177,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/b/app.ts: *new* {} @@ -197,7 +195,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/c/tsconfig.json @@ -255,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -363,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/tsconfig.json: *new* {} @@ -391,7 +389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/c/tsconfig.json @@ -451,7 +449,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/tsconfig.json: {} @@ -478,7 +476,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/c/tsconfig.json @@ -536,7 +534,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/app.ts: *new* {} @@ -566,7 +564,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/c/tsconfig.json @@ -598,12 +596,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/b/app.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -647,7 +645,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/app.ts: {} @@ -682,7 +680,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 dd0068da05e72..f0a885af2f795 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Part of 'files' list in tsconfig.json src/file2.ts @@ -166,8 +166,6 @@ 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* @@ -176,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/file2.ts: *new* {} @@ -190,7 +188,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -253,12 +251,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Part of 'files' list in tsconfig.json @@ -321,7 +319,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -342,7 +340,7 @@ export let y = 10;export let z = 10; ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 eaee6dc34f619..917e15ae58820 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by include pattern '*.ts' in 'tsconfig.json' @@ -165,8 +165,6 @@ 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* @@ -179,7 +177,7 @@ C:/projects/a: *new* {} C:/projects/a/tsconfig.json: *new* {} -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -193,7 +191,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.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.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 20aaa614c8558..573c9f6a1f03e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -78,8 +78,6 @@ 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* @@ -92,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -102,7 +100,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -125,13 +123,13 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/commonFile2.ts: *new* {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -175,12 +173,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library random.ts Root file specified for compilation @@ -188,12 +186,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/commonFile1.ts - ../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 0cb38d03c93fe..2f71b19f85d62 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f2.ts Imported via "./f2" from file 'f1.ts' f1.ts @@ -86,8 +86,6 @@ 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* @@ -106,7 +104,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/b/f2.ts: *new* {} @@ -118,7 +116,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -156,12 +154,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -215,7 +213,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/f2.ts: {} @@ -231,7 +229,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -276,7 +274,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject1* @@ -300,14 +298,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../c/f3.ts Imported via "../c/f3" from file 'f2.ts' f2.ts @@ -395,7 +393,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/f2.ts: {} @@ -413,7 +411,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 4c0136c630547..3b44cdbbf10c1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.html @@ -118,8 +118,6 @@ 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* @@ -128,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -139,7 +137,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -188,7 +186,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -196,7 +194,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -226,7 +224,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -259,7 +257,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -759,7 +757,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -791,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 "" @@ -1238,7 +1236,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c3e0d4d25df6b..8955d6a64dbc1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' f2.ts @@ -165,8 +165,6 @@ 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 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/f2.ts: *new* {} @@ -193,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -259,7 +257,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -316,12 +314,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Root file specified for compilation @@ -335,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f2.ts Root file specified for compilation @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -412,7 +410,7 @@ Projects:: deferredClose: true ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 66bc40b072cdd..2628fb28e94cc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f2.ts Root file specified for compilation @@ -84,8 +84,6 @@ 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 +102,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -114,7 +112,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -148,12 +146,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -207,7 +205,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -221,7 +219,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -260,14 +258,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../c/f2.ts Imported via "../c/f2" from file 'f1.ts' ../d/f3.ts @@ -283,12 +281,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/c/f2.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f2.ts Root file specified for compilation @@ -302,12 +300,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/d/f3.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -373,7 +371,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -397,7 +395,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject3* *new* @@ -448,12 +446,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f2.ts Root file specified for compilation @@ -471,12 +469,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -547,7 +545,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/f1.ts: *new* {} @@ -569,7 +567,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject3* @@ -657,7 +655,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/f1.ts: {} @@ -683,7 +681,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 3 /dev/null/inferredProject3* @@ -797,7 +795,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -826,7 +824,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 cf8d16110975e..5a1d2942a1d02 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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 1ad3d126b2929..54c367cd7b011 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.deferred Matched by default include pattern '**/*' @@ -222,8 +222,6 @@ 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* @@ -234,7 +232,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -251,7 +249,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a93f975c02001..ae46accceb77b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../c/f3.ts Imported via "../c/f3" from file 'f2.ts' f2.ts @@ -90,8 +90,6 @@ 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* @@ -110,7 +108,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/b/f2.ts: *new* {} @@ -124,7 +122,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -190,7 +188,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b/f2.ts: {} @@ -200,7 +198,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -239,7 +237,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -267,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: 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Root file specified for compilation @@ -301,12 +299,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f3.ts Root file specified for compilation @@ -365,7 +363,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/b: *new* {} @@ -384,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 6d393baa7fc11..3d609a83e564b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library node_modules/@types/a/index.d.ts Imported via 'a' from file 'index.ts' Entry point for implicit type library 'a' @@ -186,8 +186,6 @@ 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* @@ -212,7 +210,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -242,7 +240,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json @@ -307,13 +305,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library index.d.ts Matched by default include pattern '**/*' Entry point for implicit type library 'a' @@ -443,7 +441,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -481,7 +479,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.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json @@ -542,7 +540,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 52553d51e8b0f..a9cb57429565d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -180,8 +180,6 @@ 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* @@ -192,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: *new* {} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -265,7 +263,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/playground/tests.ts: *new* {} @@ -288,7 +286,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -353,12 +351,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/src.ts Matched by include pattern './src' in 'tsconfig.json' @@ -460,7 +458,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/playground/tests.ts: {} @@ -492,7 +490,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 779417a031fcd..5f7d5cc5651e8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/project/f1.js Root file specified for compilation ../../../../../user/username/projects/project/constructor.js @@ -108,8 +108,6 @@ 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* @@ -124,7 +122,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/constructor.js: *new* {} @@ -141,7 +139,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project @@ -177,7 +175,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 0f5b9d9a4d48c..94b344d4c9dbc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../files/file1.ts Imported via "../files/file1" from file 'file.ts' file.ts @@ -167,8 +167,6 @@ 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* @@ -183,7 +181,7 @@ FsWatches:: {} /a/b/workspace/projects/files/file1.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -205,7 +203,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json @@ -253,7 +251,7 @@ PolledWatches:: FsWatches:: /a/b/workspace/projects/config/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -274,7 +272,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json @@ -321,7 +319,7 @@ FsWatches:: {} /a/b/workspace/projects/config/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -345,7 +343,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/b/workspace/projects/config/tsconfig.json @@ -377,12 +375,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Root file specified for compilation @@ -390,13 +388,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /a/b/workspace/projects/files/file1.ts /a/b/workspace/projects/config/file.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../files/file1.ts Imported via "../files/file1" from file 'file.ts' file.ts @@ -456,7 +454,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -494,7 +492,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -537,12 +535,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -590,7 +588,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 d0153b09d7e23..285a72056cda3 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.es2024.full.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] 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,19 +50,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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* @@ -73,7 +71,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -82,7 +80,7 @@ projectFileName (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 projectFileName @@ -114,7 +112,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "projectFileName", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/f1.html" ], "compilerOptions": { @@ -263,7 +261,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -293,7 +291,7 @@ projectFileName (External) *changed* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 projectFileName @@ -370,7 +368,7 @@ projectFileName (External) *changed* dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 581c9aec2d240..93fe5135167aa 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -157,8 +157,6 @@ 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* @@ -167,7 +165,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -183,7 +181,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -226,7 +224,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/app.ts: *new* {} @@ -245,7 +243,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c6bd985852e0d..bf5def550c677 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' sub/a.ts @@ -164,8 +164,6 @@ 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* @@ -174,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/sub/a.ts: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -259,7 +257,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -339,7 +337,7 @@ Timeout callback:: count: 2 6: *ensureProjectForOpenFiles* *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -373,13 +371,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' a.ts @@ -422,7 +420,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -521,7 +519,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -555,13 +553,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b.ts Matched by default include pattern '**/*' sub/a.ts @@ -603,7 +601,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6db248a97a95b..eb9ce24447bf0 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Root file specified for compilation @@ -74,8 +74,6 @@ 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 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -181,7 +179,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Timeout callback:: count: 2 @@ -201,13 +199,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Referenced via 'commonFile2.ts' from file 'commonFile1.ts' commonFile1.ts @@ -256,7 +254,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -269,7 +267,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0d6e3b3e52e5b..9edc6123b5de0 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.es2024.full.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] 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,19 +81,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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* @@ -104,7 +102,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/b/f1.js: *new* {} @@ -115,7 +113,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project @@ -147,7 +145,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 4d3a9a6267e7c..fafba5bf82fad 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.es2024.full.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] 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,19 +87,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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* @@ -110,7 +108,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/foo.js: *new* {} @@ -121,7 +119,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project @@ -153,7 +151,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 1f95a5d9f167f..5c12fd1908c18 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.es2024.full.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] 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,19 +88,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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* @@ -111,7 +109,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/b/f1.js: *new* {} @@ -122,7 +120,7 @@ project (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project @@ -154,7 +152,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 51adec9282124..79b3df9b9223b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library apps/editor/scripts/createConfigVariable.js Matched by default include pattern '**/*' apps/editor/src/src.js @@ -202,8 +202,6 @@ 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* @@ -212,7 +210,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: *new* {} @@ -232,7 +230,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -283,7 +281,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: {} @@ -306,7 +304,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -373,12 +371,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/src.js Matched by include pattern './src' in 'tsconfig.json' @@ -488,7 +486,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/apps/editor/src/src.js: {} @@ -520,7 +518,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 aa7a3623dc2e7..0fe49b530b781 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -208,8 +208,6 @@ 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* @@ -220,7 +218,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/a/tsconfig.json: *new* {} @@ -236,7 +234,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -281,7 +279,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/main.ts: *new* {} @@ -300,7 +298,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/a/tsconfig.json @@ -350,12 +348,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.js Root file specified for compilation @@ -377,7 +375,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/main.ts: {} @@ -399,7 +397,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/project/a/tsconfig.json @@ -436,11 +434,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", "/user/username/projects/project/a/main.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -490,7 +488,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -514,7 +512,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -570,7 +568,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/main.ts: {} @@ -647,7 +645,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/a/main.js: *new* {} @@ -674,7 +672,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/project/a/tsconfig.json @@ -712,12 +710,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.js Root file specified for compilation @@ -726,11 +724,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/main.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -779,7 +777,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -803,7 +801,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -819,12 +817,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/a/main.ts - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -841,12 +839,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/a/main.js - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.js Root file specified for compilation @@ -914,7 +912,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -949,7 +947,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 bc0ea86d32b0c..d8e42162981cf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -155,8 +155,6 @@ 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 +163,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -181,7 +179,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 696b3b476e8ac..d1d1664f768f5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' f2.html @@ -204,8 +204,6 @@ 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* @@ -214,7 +212,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -230,7 +228,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -364,7 +362,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.es2024.full.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] 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 @@ -372,12 +370,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -464,8 +462,6 @@ 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* @@ -474,7 +470,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -490,7 +486,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -615,7 +611,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.es2024.full.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] 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 @@ -623,12 +619,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -713,8 +709,6 @@ 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* @@ -723,7 +717,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -739,7 +733,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -872,7 +866,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.es2024.full.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] 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 @@ -880,13 +874,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Part of 'files' list in tsconfig.json f2.html @@ -975,8 +969,6 @@ 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* @@ -985,7 +977,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -997,7 +989,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -1134,7 +1126,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.es2024.full.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] 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 @@ -1142,12 +1134,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -1234,8 +1226,6 @@ 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* @@ -1244,7 +1234,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -1260,7 +1250,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7253933754187..4e8c941c825ac 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f2.ts Imported via "./f2" from file 'f1.ts' f1.ts @@ -79,8 +79,6 @@ 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* @@ -93,7 +91,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/f2.ts: *new* {} @@ -105,7 +103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -161,7 +159,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -169,7 +167,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -222,7 +220,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -239,12 +237,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Root file specified for compilation @@ -268,12 +266,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 e27e108759e99..df4fc2325f663 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -180,8 +180,6 @@ 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* @@ -192,7 +190,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: *new* {} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -265,7 +263,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/playground/tests.ts: *new* {} @@ -288,7 +286,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/playground/tsconfig.json @@ -353,12 +351,12 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/src.ts Matched by include pattern './src' in 'tsconfig.json' @@ -460,7 +458,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/playground/tests.ts: {} @@ -492,7 +490,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/playground/tsconfig.json @@ -575,7 +573,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 7aba0e15fdf9e..5913f015976eb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -69,8 +69,6 @@ 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* @@ -83,7 +81,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -93,7 +91,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -122,7 +120,7 @@ Info seq [hh:mm:ss:mss] response: "version": 1, "isInferred": true, "options": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -131,7 +129,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file1.ts" ], "projectErrors": [] @@ -191,7 +189,7 @@ Info seq [hh:mm:ss:mss] request: "version": 1, "isInferred": true, "options": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -213,7 +211,7 @@ Info seq [hh:mm:ss:mss] response: "version": 1, "isInferred": true, "options": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -250,12 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.js Root file specified for compilation @@ -272,7 +270,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -309,11 +307,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -363,7 +361,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -387,7 +385,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -441,7 +439,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 87ae80b2a83e1..de76be0b7e42d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation lib.ts @@ -118,8 +118,6 @@ 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* @@ -128,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -141,7 +139,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -190,7 +188,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/lib.ts: {} @@ -200,7 +198,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -231,7 +229,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -265,7 +263,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -278,7 +276,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -372,7 +370,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/lib.ts: *new* {} @@ -384,7 +382,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/myproject @@ -416,7 +414,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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;" @@ -462,7 +460,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 cd5a19c062c51..dfd95173522fc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file2.ts Imported via "./file2" from file 'src/file1.ts' Matched by default include pattern '**/*' @@ -165,8 +165,6 @@ 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* @@ -175,7 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/src/file1.ts: *new* {} @@ -193,7 +191,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -245,7 +243,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -259,7 +257,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -309,7 +307,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/src/file2.ts: *new* {} @@ -328,7 +326,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -373,7 +371,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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;" @@ -396,7 +394,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 632f1ad0b28de..1d7305ec17176 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json commonFile2.ts @@ -164,8 +164,6 @@ 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* @@ -174,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -188,7 +186,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -250,12 +248,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Part of 'files' list in tsconfig.json @@ -318,7 +316,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -366,12 +364,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile2.ts Root file specified for compilation @@ -411,7 +409,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -430,7 +428,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 30374f0dfd8c0..b0519868a2766 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.es2024.full.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] 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,19 +67,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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* @@ -90,7 +88,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/f1.js: *new* {} @@ -101,7 +99,7 @@ proj1 (External) *new* projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 proj1 @@ -133,7 +131,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "proj1", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/f1.js" ], "compilerOptions": { @@ -310,12 +308,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/project/f2.js Root file specified for compilation @@ -324,7 +322,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "proj2", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/f2.js" ], "compilerOptions": { @@ -467,7 +465,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/f1.js: {} @@ -483,7 +481,7 @@ proj2 (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* proj1 @@ -616,7 +614,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/f1.js: {} @@ -637,7 +635,7 @@ proj3 (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 23db72890270e..33f2ea8f9c116 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -108,8 +108,6 @@ 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* @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -129,7 +127,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -155,7 +153,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -186,7 +184,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -199,7 +197,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -320,7 +318,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/app.ts: *new* {} @@ -332,7 +330,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -359,7 +357,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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] ----------------------------------------------- @@ -390,7 +388,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -404,7 +402,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 06b7ac39348ed..220c9869edabb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -182,8 +182,6 @@ 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* @@ -194,7 +192,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/A/tsconfig.json: *new* {} @@ -210,7 +208,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/A/tsconfig.json @@ -271,13 +269,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../A/a.ts Imported via "../A/a" from file 'b.ts' b.ts @@ -386,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/A/tsconfig.json: {} @@ -410,7 +408,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /users/username/projects/project/A/tsconfig.json @@ -455,7 +453,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -484,7 +482,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.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 79cedaab7127b..c9c06e2aafdf9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -185,8 +185,6 @@ 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* @@ -197,7 +195,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/A/tsconfig.json: *new* {} @@ -213,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/A/tsconfig.json @@ -276,13 +274,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library b2.ts Imported via "../B/b2" from file 'b.ts' Matched by default include pattern '**/*' @@ -392,7 +390,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/A/tsconfig.json: {} @@ -418,7 +416,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /users/username/projects/project/A/tsconfig.json @@ -466,7 +464,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -495,7 +493,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -548,7 +546,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -577,7 +575,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.d.ts", "isSourceOfProjectReferenceRedirect": false }, { @@ -697,13 +695,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by include pattern '**/*' in 'tsconfig.json' ../B/b2.ts @@ -734,7 +732,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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);" @@ -814,7 +812,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3deb2051c426b..8f270a68aaf73 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -164,8 +164,6 @@ 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* @@ -176,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -229,7 +227,7 @@ Info seq [hh:mm:ss:mss] response: }, "files": [ { - "fileName": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "fileName": "/home/src/tslibs/TS/Lib/lib.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 8629ea6b56377..062745dab3602 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -164,8 +164,6 @@ 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* @@ -176,7 +174,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -228,7 +226,7 @@ Info seq [hh:mm:ss:mss] response: "languageServiceDisabled": false }, "files": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 9b02fd7acfff5..def5deb14bb91 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' @@ -165,8 +165,6 @@ 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 +173,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -191,7 +189,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -253,13 +251,13 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library f1.ts Matched by default include pattern '**/*' f2.html @@ -337,7 +335,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/tsconfig.json: {} @@ -355,7 +353,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -391,7 +389,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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\";" @@ -421,7 +419,7 @@ Projects:: projectProgramVersion: 2 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -919,7 +917,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -950,7 +948,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 "" @@ -1397,7 +1395,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d9a8e5ea2a7f3..5952b8779fc4e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../core/index.ts Imported via '../core/index' from file 'index.ts' Imported via '../core/index' from file '../logic/index.ts' @@ -301,8 +301,6 @@ 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* @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -341,7 +339,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -391,7 +389,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -418,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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() {}" @@ -464,7 +462,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -515,7 +513,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -542,7 +540,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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() {}" @@ -588,7 +586,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/sample1/tests/tsconfig.json @@ -665,7 +663,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 da5323b847f5f..7836e9d625a10 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,8 +301,6 @@ 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* @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -399,14 +397,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../refs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' Imported via "@ref/a" from file 'index.ts' @@ -496,7 +494,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -536,7 +534,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -640,15 +638,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -725,7 +723,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -760,7 +758,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0cbcfb7cfbd9e..bf72158638c22 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,8 +301,6 @@ 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* @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -396,7 +394,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 {}" @@ -532,7 +530,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 fa1c2d75042c1..b2a2b0fbd75a3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,8 +301,6 @@ 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* @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -448,15 +446,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../nrefs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -507,7 +505,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -546,7 +544,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -641,15 +639,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -700,7 +698,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -738,7 +736,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 056be6715b64a..6366ab2e426bf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,8 +301,6 @@ 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* @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -457,15 +455,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -551,7 +549,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -589,7 +587,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -693,15 +691,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -787,7 +785,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -825,7 +823,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f686bd983d5d7..20842edcbac23 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -301,8 +301,6 @@ 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* @@ -313,7 +311,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -390,7 +388,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -417,7 +415,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 {}" @@ -463,7 +461,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d64c7999efd3f..00847626e65ff 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,8 +298,6 @@ 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* @@ -310,7 +308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -406,14 +404,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../refs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' Imported via "@ref/a" from file 'index.ts' @@ -503,7 +501,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -545,7 +543,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -650,15 +648,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -735,7 +733,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -772,7 +770,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 97d9d28c7d734..211e18bc493fc 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,8 +298,6 @@ 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* @@ -310,7 +308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -401,7 +399,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 {}" @@ -536,7 +534,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 974944feb143a..437bc4be11c5a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,8 +298,6 @@ 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* @@ -310,7 +308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -444,15 +442,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../nrefs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -503,7 +501,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -542,7 +540,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -634,15 +632,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -693,7 +691,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -733,7 +731,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c950d6127e799..6d161ee72abd4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,8 +298,6 @@ 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* @@ -310,7 +308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -453,15 +451,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -547,7 +545,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -587,7 +585,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -688,15 +686,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -782,7 +780,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject: {} @@ -822,7 +820,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7fdc7630d8a31..323ed867aa634 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -298,8 +298,6 @@ 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* @@ -310,7 +308,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -344,7 +342,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -389,7 +387,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/c/tsconfig.json @@ -416,7 +414,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 {}" @@ -462,7 +460,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 fefed6c7cabbb..4c5405f0f678c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -155,8 +155,6 @@ 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 +167,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/Foo/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -183,7 +181,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e3fd48244fdab..deb90ecee7c83 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json b.ts @@ -168,8 +168,6 @@ 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* @@ -188,7 +186,7 @@ FsWatches:: {} /home/src/projects/project/Foo/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -206,7 +204,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9ca179ff356d4..ca88ed1219639 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -163,8 +163,6 @@ 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* @@ -177,7 +175,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/Bar/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -191,7 +189,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/Bar/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 145147944e3cc..1fb81c66b1436 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -158,8 +158,6 @@ 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 +170,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/Foo/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -186,7 +184,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/Foo/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 66324ae1f8b09..02a01feee5cf5 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Part of 'files' list in tsconfig.json @@ -153,8 +153,6 @@ 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* @@ -165,7 +163,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -179,7 +177,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 71564a483305b..3c262436bc06c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -74,8 +74,6 @@ 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 +86,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -102,7 +100,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e7e9d321442f8..13f2213005abf 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -108,8 +108,6 @@ 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* @@ -134,7 +132,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -148,7 +146,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -178,12 +176,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app2.ts Root file specified for compilation @@ -233,7 +231,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject1* @@ -264,12 +262,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app3.ts Root file specified for compilation @@ -333,7 +331,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject3* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /dev/null/inferredProject1* @@ -365,12 +363,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app4.ts Root file specified for compilation @@ -448,7 +446,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject4* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 8ccc638795554..1afe88a127577 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -86,8 +86,6 @@ 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* @@ -112,7 +110,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e83e63acc9e6a..d9fa52cf4386d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -87,8 +87,6 @@ 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* @@ -113,7 +111,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -127,7 +125,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c4b3b0fa73cff..afe99095dee88 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -86,8 +86,6 @@ 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* @@ -112,7 +110,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 01d71a9828b02..09cdf5f08569f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library other.ts Imported via "./other.js" from file 'index.ts' Matched by default include pattern '**/*' @@ -179,8 +179,6 @@ 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 +191,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -215,7 +213,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js b/tests/baselines/reference/tsserver/regionDiagnostics/region-has-suggestion.js index 7f4d0e42ccbc8..2f894e25bf727 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library other.ts Imported via "./other.js" from file 'index.ts' Matched by default include pattern '**/*' @@ -179,8 +179,6 @@ 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 +191,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -215,7 +213,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json 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 64036dbac471c..35fc04db52970 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -76,8 +76,6 @@ 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* @@ -90,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -104,7 +102,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -154,7 +152,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -172,7 +170,7 @@ ScriptInfos:: pendingReloadFromDisk: true *changed* containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -185,7 +183,7 @@ ScriptInfos:: version: Text-2 *changed* pendingReloadFromDisk: false *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -213,7 +211,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-3 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -243,7 +241,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-4 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -268,12 +266,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -309,7 +307,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -330,7 +328,7 @@ ScriptInfos:: version: Text-4 containingProjects: 1 *changed* /dev/null/inferredProject1* *default* *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -380,7 +378,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/app.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -396,7 +394,7 @@ ScriptInfos:: version: Text-4 containingProjects: 0 *changed* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -427,7 +425,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-5 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -457,7 +455,7 @@ ScriptInfos:: /home/src/projects/project/app.ts *changed* version: Text-6 *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e836ffa2eec7d..4e922a12c242f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.ts Root file specified for compilation @@ -75,8 +75,6 @@ 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* @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -103,7 +101,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -141,7 +139,7 @@ ScriptInfos:: version: Text-2 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -154,7 +152,7 @@ ScriptInfos:: version: SVC-2-0 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -182,7 +180,7 @@ ScriptInfos:: version: Text-3 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 463de1925bfd9..fce1249f1ed7c 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Imported via "./file2" from file 'file1.ts' Matched by default include pattern '**/*' @@ -212,8 +212,6 @@ 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* @@ -222,7 +220,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -242,7 +240,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -324,14 +322,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -417,7 +415,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -447,7 +445,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -536,14 +534,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -635,7 +633,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -664,7 +662,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -751,13 +749,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -849,7 +847,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -878,7 +876,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7d4a8e29317fd..14cd31ebddbcb 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Imported via "./file2" from file 'file1.ts' Matched by default include pattern '**/*' @@ -223,8 +223,6 @@ 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* @@ -233,7 +231,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -254,7 +252,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -304,7 +302,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -322,7 +320,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -404,14 +402,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -498,7 +496,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -527,7 +525,7 @@ Projects:: projectProgramVersion: 2 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -615,14 +613,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -715,7 +713,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -744,7 +742,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -830,13 +828,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -929,7 +927,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -958,7 +956,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 146098342ea3c..68d19445f8c23 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Imported via "./file2" from file 'file1.ts' Root file specified for compilation @@ -158,8 +158,6 @@ 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* @@ -168,7 +166,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -183,7 +181,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -232,7 +230,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -244,7 +242,7 @@ FsWatches *deleted*:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -302,14 +300,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -375,7 +373,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -400,7 +398,7 @@ Projects:: projectProgramVersion: 2 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -464,14 +462,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -543,7 +541,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -568,7 +566,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.sln @@ -632,13 +630,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -710,7 +708,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -735,7 +733,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 681ff82192331..ef28c3863fee1 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file2.ts Imported via "./file2" from file 'file1.ts' file1.ts @@ -138,8 +138,6 @@ 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* @@ -152,7 +150,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -166,7 +164,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -232,14 +230,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -300,7 +298,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -326,7 +324,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -399,14 +397,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -473,7 +471,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -498,7 +496,7 @@ Projects:: projectProgramVersion: 3 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -570,13 +568,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts @@ -644,7 +642,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} *new* @@ -669,7 +667,7 @@ Projects:: projectProgramVersion: 4 *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7b22402b9320b..2cbc7cf48e044 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via "./a" from file 'b.ts' b.ts @@ -79,8 +79,6 @@ 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 +93,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -113,7 +111,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 abb69add16443..18574a9b4a922 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -75,8 +75,6 @@ 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* @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -103,7 +101,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,13 +127,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a.js' from file 'b.ts' b.ts @@ -145,12 +143,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts - ../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -204,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 86be61bbf3927..a99b7dc67ec40 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -75,8 +75,6 @@ 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* @@ -89,7 +87,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -103,7 +101,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -129,13 +127,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via "./a" from file 'b.ts' b.ts @@ -145,12 +143,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts - ../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -204,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 3dcd009125d21..e5b6c8f052538 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library index.ts Matched by default include pattern '**/*' @@ -215,8 +215,6 @@ 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* @@ -227,7 +225,7 @@ c:/temp/test/project1/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +C:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/temp/test/project1/package.json: *new* {} @@ -252,7 +250,7 @@ c:/temp/test/tsconfig.json (Configured) *new* initialLoadPending: true ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +C:/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 c:/temp/test/project1/tsconfig.json @@ -422,13 +420,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project1/index.ts Imported via 'project1' from file 'index.ts' with packageId 'project1/index.ts@1.0.0' index.ts @@ -600,7 +598,7 @@ c:/temp/test/project2/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +C:/home/src/tslibs/TS/Lib/lib.d.ts: {} c:/temp: *new* {} @@ -647,7 +645,7 @@ c:/temp/test/tsconfig.json (Configured) *changed* initialLoadPending: false *changed* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +C:/home/src/tslibs/TS/Lib/lib.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 3af2b62432801..984c78b14538b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via "./a" from file 'b.ts' b.ts @@ -79,8 +79,6 @@ 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 +93,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -113,7 +111,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9a764f2bd24ba..60bbeb916bf6f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -72,8 +72,6 @@ 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 +84,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 0637da7cc8ab7..56ce4dc2f670d 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 @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/node_modules/module1/index.ts Imported via "module1" from file 'src/file1.ts' node_modules/module2/index.ts @@ -248,8 +248,6 @@ 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 +270,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -298,7 +296,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 b7f6cc3ee5658..85f25ff762655 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../../home/src/Library/Caches/typescript/node_modules/@types/lib/index.d.ts Imported via "lib" from file 'app.js' app.js @@ -134,8 +134,6 @@ 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* @@ -160,7 +158,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -181,7 +179,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -204,7 +202,7 @@ 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", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -337,7 +335,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 7abcdcebd6a53..87de54172c5d4 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.es2024.full.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] 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,19 +52,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -81,7 +79,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -94,7 +92,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -126,11 +124,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", "/user/username/projects/project/a.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -187,7 +185,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -213,7 +211,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -264,7 +262,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 147204de3c3b5..a9d37beb8aa6c 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 @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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,8 +376,6 @@ 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* @@ -400,7 +398,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -432,7 +430,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -498,7 +496,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -573,7 +571,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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\";" @@ -621,7 +619,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f576739f5518e..6194c7b107e25 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 @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/node_modules/module1/index.ts Imported via "module1" from file 'src/file1.ts' Imported via "module1" from file 'src/file2.ts' @@ -264,8 +264,6 @@ 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* @@ -288,7 +286,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -316,7 +314,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -360,7 +358,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -421,7 +419,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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\";" @@ -467,7 +465,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 983fe2f3ad65c..a7ead2d3b23d9 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 @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/module1/index.ts Imported via "module1" from file 'feature/file2.ts' Imported via "module1" from file '../test/file4.ts' @@ -343,8 +343,6 @@ 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* @@ -389,7 +387,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -423,7 +421,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -489,7 +487,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -567,7 +565,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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\";" @@ -615,7 +613,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e418d95278cd0..727928bb7f424 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/moduleX/index.d.ts Imported via "moduleX" from file 'appA.ts' Imported via "moduleX" from file '../common/moduleB.ts' @@ -299,8 +299,6 @@ 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* @@ -315,7 +313,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -345,7 +343,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 8e8e5e7aecb45..836201ab4d5d9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -83,8 +83,6 @@ 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* @@ -105,7 +103,7 @@ FsWatches:: {} /a/b/projects/temp: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -119,7 +117,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -299,7 +297,7 @@ FsWatches:: {} /a/b/projects/temp: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -335,13 +333,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/@types/pad/index.d.ts Imported via "pad" from file 'a.ts' Entry point for implicit type library 'pad' @@ -378,7 +376,7 @@ FsWatches:: {} /a/b/projects/temp: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -408,7 +406,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ff4d2349437f4..bd182e680a1d9 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 @@ -142,7 +142,7 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library product/module2.ts Matched by default include pattern '**/*' Imported via "../module2" from file 'product/src/file1.ts' @@ -264,8 +264,6 @@ 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* @@ -274,7 +272,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/product/module2.ts: *new* {} @@ -302,7 +300,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -368,7 +366,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -413,7 +411,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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\";" @@ -461,7 +459,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 aa53830bdebae..bdda0bcbed808 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 @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library module2.ts Matched by default include pattern '**/*' Imported via "../module2" from file 'src/file1.ts' @@ -208,8 +208,6 @@ 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* @@ -218,7 +216,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/module2.ts: *new* {} @@ -240,7 +238,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -284,7 +282,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -315,7 +313,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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\";" @@ -361,7 +359,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 955721ceb4771..d9189f88191a4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile.ts Imported via './moduleFile' from file 'file1.ts' Matched by default include pattern '**/*' @@ -164,8 +164,6 @@ 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* @@ -174,7 +172,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/moduleFile.ts: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -255,7 +253,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -280,13 +278,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' moduleFile1.ts @@ -333,7 +331,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: *new* {} @@ -356,7 +354,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -447,7 +445,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -497,13 +495,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile.ts Imported via './moduleFile' from file 'file1.ts' Matched by default include pattern '**/*' @@ -532,7 +530,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile.ts: {} @@ -556,7 +554,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 b1fa4dba095e2..0e71a1403401b 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile.ts Imported via './moduleFile' from file 'file1.ts' file1.ts @@ -79,8 +79,6 @@ 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* @@ -93,7 +91,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/moduleFile.ts: *new* {} @@ -105,7 +103,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -160,7 +158,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -184,12 +182,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -238,7 +236,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project: *new* {} @@ -303,7 +301,7 @@ Timeout callback:: count: 1 4: /dev/null/inferredProject1*FailedLookupInvalidation *new* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -359,7 +357,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -385,13 +383,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile.ts Imported via './moduleFile' from file 'file1.ts' file1.ts @@ -444,7 +442,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile.ts: {} @@ -460,7 +458,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7d1126d08ec9d..c3f5d20849f61 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/moduleX/index.d.ts Imported via "moduleX" from file 'appA.ts' Imported via "moduleX" from file '../common/moduleB.ts' @@ -293,8 +293,6 @@ 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 +311,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -343,7 +341,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 65f1806d2f683..81b1ed9683605 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/project/app.ts Root file specified for compilation @@ -113,8 +113,6 @@ 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 +123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -136,7 +134,7 @@ project1 (External) *new* projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project1 @@ -198,12 +196,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -272,12 +270,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /user/username/projects/project/app.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/project/app.ts Root file specified for compilation @@ -318,7 +316,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/app.ts: {} @@ -339,7 +337,7 @@ project1 (External) *deleted* isClosed: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 426ae07185aa5..12e91da345eb8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Root file specified for compilation @@ -76,8 +76,6 @@ 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* @@ -92,7 +90,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project: *new* {} @@ -104,7 +102,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -200,7 +198,7 @@ Info seq [hh:mm:ss:mss] response: After request ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -229,13 +227,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library moduleFile.ts Imported via './moduleFile' from file 'file1.ts' file1.ts @@ -267,7 +265,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/moduleFile.ts: *new* {} @@ -284,7 +282,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ff617733fce32..6670a3af280c0 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.es2024.full.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] 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,19 +44,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -69,7 +67,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -78,7 +76,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -110,11 +108,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", "/user/username/projects/project/a.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -164,7 +162,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -188,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -236,7 +234,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 acf45fca9ee92..e6a32f09eab30 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -73,8 +73,6 @@ 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* @@ -87,7 +85,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -97,7 +95,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 840f3bbf86ade..b30ffbf4d8396 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' node_modules/@types/node/index.d.ts @@ -179,8 +179,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -213,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 364fe2d648111..3f6961c7a014e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -194,11 +194,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -214,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location-with-currentDirectory-at-root.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location-with-currentDirectory-at-root.js index c2c1aad124e19..0157f89275dbf 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location-with-currentDirectory-at-root.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location-with-currentDirectory-at-root.js @@ -86,12 +86,12 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 12 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 13 FsWatches:: /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":12} + {"inode":13} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -118,10 +118,10 @@ TI:: [hh:mm:ss:mss] Updating types-registry npm package... TI:: [hh:mm:ss:mss] npm install --ignore-scripts types-registry@latest TI:: [hh:mm:ss:mss] Updated types-registry npm package TI:: typing installer creation complete -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 110 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 114 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 113 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 117 { "entries": {} } diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location.js index 6b1109cd63b39..2079a29ce7d7b 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails-in-global-typings-location.js @@ -101,12 +101,12 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 15 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 16 FsWatches:: /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":15} + {"inode":16} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -133,10 +133,10 @@ TI:: [hh:mm:ss:mss] Updating types-registry npm package... TI:: [hh:mm:ss:mss] npm install --ignore-scripts types-registry@latest TI:: [hh:mm:ss:mss] Updated types-registry npm package TI:: typing installer creation complete -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 113 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 117 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 116 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 120 { "entries": {} } diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing-with-currentDirectory-at-root.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing-with-currentDirectory-at-root.js index 920338ca5fcc8..ef0f354c6bac3 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing-with-currentDirectory-at-root.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing-with-currentDirectory-at-root.js @@ -22,10 +22,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 114 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 118 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 116 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 120 { "entries": {} } @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 19 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 20 PolledWatches:: @@ -152,9 +152,9 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* - {"inode":114} + {"inode":118} /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":19} + {"inode":20} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing.js index 8ccd7380216e1..7b6d649a25e39 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-failing.js @@ -22,10 +22,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 117 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 121 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 119 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 123 { "entries": {} } @@ -154,7 +154,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 22 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 23 PolledWatches:: @@ -167,9 +167,9 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* - {"inode":117} + {"inode":121} /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":22} + {"inode":23} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-with-currentDirectory-at-root.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-with-currentDirectory-at-root.js index f4ed11e22a887..32201a12ea25b 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-with-currentDirectory-at-root.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file-with-currentDirectory-at-root.js @@ -26,10 +26,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 116 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 120 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 118 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 122 { "entries": {} } @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 21 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 22 PolledWatches:: @@ -161,9 +161,9 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* - {"inode":116} + {"inode":120} /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":21} + {"inode":22} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file.js index e95e611fb0505..5b600fd38ca1a 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-import-from-the-cache-file.js @@ -26,10 +26,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 119 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 123 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 121 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 125 { "entries": {} } @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 24 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 25 PolledWatches:: @@ -176,9 +176,9 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* - {"inode":119} + {"inode":123} /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":24} + {"inode":25} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file-with-currentDirectory-at-root.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file-with-currentDirectory-at-root.js index 9d45f7563a662..198278a12b3a0 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file-with-currentDirectory-at-root.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file-with-currentDirectory-at-root.js @@ -26,10 +26,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 115 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 119 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 117 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 121 { "entries": {} } @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 20 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 21 PolledWatches:: @@ -148,9 +148,9 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* - {"inode":115} + {"inode":119} /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":20} + {"inode":21} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file.js index 70db40837ab35..61c46e3cd368d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-is-succeeds-in-global-typings-location-with-relative-import-from-the-cache-file.js @@ -26,10 +26,10 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/Library/Caches/typescript/package.json] Inode:: 118 +//// [/home/src/Library/Caches/typescript/package.json] Inode:: 122 { "private": true } -//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 120 +//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json] Inode:: 124 { "entries": {} } @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer -//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 23 +//// [/home/src/tslibs/TS/Lib/lib.es2020.full.d.ts] *Lib* Inode:: 24 PolledWatches:: @@ -163,9 +163,9 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* - {"inode":118} + {"inode":122} /home/src/tslibs/TS/Lib/lib.es2020.full.d.ts: *new* - {"inode":23} + {"inode":24} FsWatchesRecursive:: /home/src/Library/Caches/typescript/node_modules: *new* 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 3ea1f70395fad..3a9bf679a1f57 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/somemodule/index.d.ts Imported via "somemodule" from file 'test.ts' test.ts @@ -173,8 +173,6 @@ 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 +189,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -213,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 650d6800481df..d71b1aaaa5582 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/somemodule/index.d.ts Imported via "somemodule" from file 'test.ts' test.ts @@ -90,8 +90,6 @@ 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* @@ -112,7 +110,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -130,7 +128,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 21d9d8c0abf1d..8902ba5b064cd 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.es2024.full.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: /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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' node_modules/@types/lib1/index.d.ts @@ -175,8 +175,6 @@ 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* @@ -193,7 +191,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/project/tsconfig.json: *new* {} @@ -213,7 +211,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -260,7 +258,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/project/tsconfig.json @@ -288,12 +286,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -365,7 +363,7 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -440,13 +438,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' node_modules/@types/lib2/index.d.ts @@ -501,7 +499,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/project/tsconfig.json: {} @@ -524,7 +522,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 826920a68d6bc..257d33b8fdc44 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/file1.js Root file specified for compilation ../../../projects/project/a/b/file2.d.ts @@ -78,8 +78,6 @@ 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* @@ -94,7 +92,7 @@ FsWatches:: {} /home/src/projects/project/a/b/file2.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -111,7 +109,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project1 @@ -139,7 +137,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project1", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 480f84a20e792..c2ead62aabdca 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/a/b/file1.js Root file specified for compilation ../../../projects/project/a/b/file2.d.ts @@ -76,8 +76,6 @@ 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 +90,7 @@ FsWatches:: {} /home/src/projects/project/a/b/file2.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -109,7 +107,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 project1 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 project1 @@ -137,7 +135,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "project1", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 baff5c9a74604..ca7720958a66c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library file2.d.ts Referenced via 'file2.d.ts' from file 'file1.js' file1.js @@ -77,8 +77,6 @@ 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* @@ -105,7 +103,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/file2.d.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -122,7 +120,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -150,12 +148,12 @@ 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", "/home/src/projects/project/a/b/file2.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -205,7 +203,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -229,7 +227,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -291,7 +289,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/file2.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -376,7 +374,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -426,12 +424,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library file2.d.ts Root file specified for compilation @@ -440,11 +438,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", "/home/src/projects/project/a/b/file2.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -484,7 +482,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -507,7 +505,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -583,7 +581,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a/b/file1.js: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -602,7 +600,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -696,13 +694,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library file2.d.ts Referenced via 'file2.d.ts' from file 'file1.js' file1.js @@ -713,12 +711,12 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/b/file2.d.ts", "/home/src/projects/project/a/b/file1.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -767,7 +765,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -791,7 +789,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -807,12 +805,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/b/file2.d.ts - ../../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library file2.d.ts Root file specified for compilation @@ -886,7 +884,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -916,7 +914,7 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject2* *default* *new* /dev/null/inferredProject1* *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 c41a3d005a660..823f25929ddce 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.es2024.full.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] 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,19 +79,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -104,7 +102,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -121,7 +119,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/jsconfig.json @@ -149,7 +147,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/jsFile.js" ], "compilerOptions": { @@ -349,7 +347,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 e61365b792342..256d30e7824a5 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.es2024.full.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] 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,19 +75,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -100,7 +98,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -117,7 +115,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/jsconfig.json @@ -145,7 +143,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/jsFile.js" ], "compilerOptions": { @@ -341,7 +339,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 7e346c22a1e1d..d48d06b9a4d1c 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.es2024.full.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] 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,19 +50,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -81,7 +79,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -94,7 +92,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -122,11 +120,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", "/home/src/projects/project/a/jsFile.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -176,7 +174,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -200,7 +198,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -254,7 +252,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 34ea686e79caf..412fc613755ce 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library dTsFile1.d.ts Matched by default include pattern '**/*' dTsFile2.d.ts @@ -101,8 +101,6 @@ 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* @@ -119,7 +117,7 @@ FsWatches:: {} /home/src/projects/project/a/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -144,7 +142,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/jsconfig.json @@ -172,7 +170,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/a/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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" @@ -374,7 +372,7 @@ FsWatches:: {} /home/src/projects/project/a/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 f367668070933..c9c43cc3467ac 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.es2024.full.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] 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,19 +51,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -76,7 +74,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -89,7 +87,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -117,11 +115,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", "/home/src/projects/project/file.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -171,7 +169,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -195,7 +193,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -243,7 +241,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 d47c611054977..1811f0d357fb4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -197,8 +197,6 @@ 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* @@ -223,7 +221,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -249,7 +247,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -409,7 +407,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -468,13 +466,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -535,7 +533,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -568,7 +566,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -723,7 +721,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 c013bf2bed5d0..06619a43078d3 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -202,8 +202,6 @@ 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* @@ -226,7 +224,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -258,7 +256,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -424,13 +422,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -491,7 +489,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -528,7 +526,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 80bdf70d93661..bce3c1a5888eb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -199,8 +199,6 @@ 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* @@ -215,7 +213,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -247,7 +245,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -370,7 +368,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -400,12 +398,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -462,7 +460,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -624,7 +622,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -672,13 +670,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -739,7 +737,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -775,7 +773,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 855d0577acf78..5187ca2155dcb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -236,8 +236,6 @@ 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 +260,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -292,7 +290,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -464,7 +462,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: {} @@ -540,13 +538,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -607,7 +605,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/myproject/javascript/packages: {} @@ -646,7 +644,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -816,7 +814,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 51dc3e7859871..dd49e93a935a7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -240,8 +240,6 @@ 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* @@ -264,7 +262,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects: *new* {} @@ -298,7 +296,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -487,13 +485,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -554,7 +552,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/myproject/javascript/packages: {} @@ -595,7 +593,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7cfaa54bf2610..51b466b7d3330 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -223,8 +223,6 @@ 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* @@ -239,7 +237,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/myproject/javascript/packages: *new* {} @@ -261,7 +259,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -384,7 +382,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -428,12 +426,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -490,7 +488,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects: *new* {} @@ -663,7 +661,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json @@ -725,13 +723,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -792,7 +790,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/myproject/javascript/packages: {} @@ -832,7 +830,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js index 19c1bee7d6914..bfd48fa01209b 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux-canUseWatchEvents.js @@ -486,7 +486,7 @@ Info seq [hh:mm:ss:mss] response: } } After request -//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 34 +//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 35 PolledWatches:: @@ -685,20 +685,20 @@ Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/home/src/projects/p Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}:: /home/src/projects/project/node_modules/package1/tsconfig.tsbuildinfo.readable.baseline.txt created Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}:: /home/src/projects/project/node_modules/package1/tsconfig.tsbuildinfo.readable.baseline.txt updated Before request -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 126 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 130 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 127 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 131 export type FooType = "foo"; export type BarType = "bar"; -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 128 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 132 {"root":["./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 129 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 133 { "root": [ "./src/index.ts" @@ -1429,14 +1429,14 @@ Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/home/src/projects/p Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}:: /home/src/projects/project/node_modules/package1/tsconfig.tsbuildinfo updated Custom watchDirectory:: Triggered Ignored:: {"id":8,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}:: /home/src/projects/project/node_modules/package1/tsconfig.tsbuildinfo.readable.baseline.txt updated Before request -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 129 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 131 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 133 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 135 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 132 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 136 export type FooType = "foo"; export type BarType = "bar"; diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js index bd058ce7a79ca..257e16fee5c88 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -303,7 +303,7 @@ Info seq [hh:mm:ss:mss] response: } } After request -//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 34 +//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 35 PolledWatches:: @@ -342,7 +342,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: *new* {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* - {"inode":34} + {"inode":35} Projects:: /home/src/projects/project/packages/package2/tsconfig.json (Configured) *new* @@ -495,20 +495,20 @@ After running Immedidate callback:: count: 0 Build dependencies Before running Timeout callback:: count: 1 7: timerToUpdateChildWatches -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 126 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 130 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 127 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 131 export type FooType = "foo"; export type BarType = "bar"; -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 128 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 132 {"root":["./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 129 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 133 { "root": [ "./src/index.ts" @@ -554,7 +554,7 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -568,7 +568,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 9: /home/src/projects/project/packages/package2/tsconfig.jsonFailedLookupInvalidation *new* @@ -699,9 +699,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -715,7 +715,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Projects:: /home/src/projects/project/packages/package2/tsconfig.json (Configured) *changed* @@ -906,13 +906,13 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} FsWatches *deleted*:: /home/src/projects/project/packages/package1/dist: - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":127} + {"inode":131} Timeout callback:: count: 3 13: /home/src/projects/project/packages/package2/tsconfig.json *new* @@ -1083,7 +1083,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 20: /home/src/projects/project/packages/package2/tsconfig.jsonFailedLookupInvalidation *new* @@ -1348,14 +1348,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/packages/package1/dist/index.d.ts 0:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 1 25: timerToUpdateChildWatches -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 129 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 131 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 133 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 135 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 132 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 136 export type FooType = "foo"; export type BarType = "bar"; @@ -1389,7 +1389,7 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1403,7 +1403,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 25: timerToUpdateChildWatches *new* @@ -1455,9 +1455,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1471,7 +1471,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 27: /home/src/projects/project/packages/package2/tsconfig.jsonFailedLookupInvalidation *new* @@ -1600,9 +1600,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1616,7 +1616,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Projects:: /home/src/projects/project/packages/package2/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js index 35c3b91ef00c3..34f503e53bfc0 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux-canUseWatchEvents.js @@ -84,22 +84,22 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 34 +//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 35 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 126 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 130 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 127 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 131 export type FooType = "foo"; export type BarType = "bar"; -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 128 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 132 {"root":["./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 129 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 133 { "root": [ "./src/index.ts" @@ -1047,14 +1047,14 @@ Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/p Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}:: /home/src/projects/project/node_modules/package1/tsconfig.tsbuildinfo updated Custom watchDirectory:: Triggered Ignored:: {"id":9,"path":"/home/src/projects/project/node_modules/package1","recursive":true,"ignoreUpdate":true}:: /home/src/projects/project/node_modules/package1/tsconfig.tsbuildinfo.readable.baseline.txt updated Before request -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 129 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 131 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 133 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 135 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 132 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 136 export type FooType = "foo"; export type BarType = "bar"; diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index d879209b4f58c..54e3bd16cbe85 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -84,22 +84,22 @@ interface Array { length: number; [n: number]: T; } interface ReadonlyArray {} declare const console: { log(msg: any): void; }; -//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 34 +//// [/home/src/tslibs/TS/Lib/lib.es2016.full.d.ts] *Lib* Inode:: 35 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 126 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 130 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 127 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 131 export type FooType = "foo"; export type BarType = "bar"; -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 128 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] Inode:: 132 {"root":["./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 129 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 133 { "root": [ "./src/index.ts" @@ -330,9 +330,9 @@ FsWatches:: /home/src/projects/project/packages/package1: *new* {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":127} + {"inode":131} /home/src/projects/project/packages/package1/package.json: *new* {"inode":7} /home/src/projects/project/packages/package1/src: *new* @@ -346,7 +346,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: *new* {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: *new* - {"inode":34} + {"inode":35} Projects:: /home/src/projects/project/packages/package2/tsconfig.json (Configured) *new* @@ -536,13 +536,13 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} FsWatches *deleted*:: /home/src/projects/project/packages/package1/dist: - {"inode":125} + {"inode":129} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":127} + {"inode":131} Timeout callback:: count: 3 2: /home/src/projects/project/packages/package2/tsconfig.json *new* @@ -717,7 +717,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 9: /home/src/projects/project/packages/package2/tsconfig.jsonFailedLookupInvalidation *new* @@ -983,14 +983,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/packages/package1/dist/index.d.ts 0:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 1 14: timerToUpdateChildWatches -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 128 -//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 129 -//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 131 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo] file written with same contents Inode:: 132 +//// [/home/src/projects/project/packages/package1/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 133 +//// [/home/src/projects/project/packages/package1/dist/index.js] Inode:: 135 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 132 +//// [/home/src/projects/project/packages/package1/dist/index.d.ts] Inode:: 136 export type FooType = "foo"; export type BarType = "bar"; @@ -1024,7 +1024,7 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1038,7 +1038,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 14: timerToUpdateChildWatches *new* @@ -1090,9 +1090,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: *new* - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1106,7 +1106,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Timeout callback:: count: 1 16: /home/src/projects/project/packages/package2/tsconfig.jsonFailedLookupInvalidation *new* @@ -1235,9 +1235,9 @@ FsWatches:: /home/src/projects/project/packages/package1: {"inode":6} /home/src/projects/project/packages/package1/dist: - {"inode":130} + {"inode":134} /home/src/projects/project/packages/package1/dist/index.d.ts: - {"inode":132} + {"inode":136} /home/src/projects/project/packages/package1/package.json: {"inode":7} /home/src/projects/project/packages/package1/src: @@ -1251,7 +1251,7 @@ FsWatches:: /home/src/projects/project/packages/package2/tsconfig.json: {"inode":13} /home/src/tslibs/TS/Lib/lib.es2016.full.d.ts: - {"inode":34} + {"inode":35} Projects:: /home/src/projects/project/packages/package2/tsconfig.json (Configured) *changed* 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 13664334bc028..ee4ccc5516869 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -510,16 +510,14 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -570,7 +568,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -695,7 +693,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 146 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 150 export const a = 10; @@ -825,7 +823,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 147 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 151 export const a = 10; @@ -973,26 +971,26 @@ 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 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 153 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 154 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 155 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 156 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 153 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 157 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 154 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 158 { "root": [ "./src/c.ts", @@ -1002,28 +1000,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 160 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 161 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 162 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 163 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 160 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 164 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 161 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 165 { "root": [ "./src/a.ts", @@ -1284,7 +1282,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1292,8 +1290,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1352,8 +1350,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -1431,7 +1429,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1546,7 +1544,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -1662,7 +1660,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1931,7 +1929,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2077,12 +2075,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -2131,8 +2129,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -2342,40 +2340,40 @@ Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/ Custom watchDirectory:: Triggered Ignored:: {"id":30,"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 updated Custom watchDirectory:: Triggered Ignored:: {"id":30,"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/tsconfig.tsbuildinfo] file written with same contents Inode:: 153 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 154 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 157 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 164 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -2476,7 +2474,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2638,7 +2636,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2646,8 +2644,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2706,8 +2704,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -2788,7 +2786,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7ae4f806c5786..9f925ec61fb40 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -261,8 +261,6 @@ 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* @@ -311,8 +309,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":45} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -325,7 +323,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -450,7 +448,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 146 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 150 export const a = 10; @@ -580,7 +578,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 147 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 151 export const a = 10; @@ -711,26 +709,26 @@ After running Immedidate callback:: count: 0 Build dependencies Before running Timeout callback:: count: 1 9: timerToUpdateChildWatches -//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 153 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 154 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 155 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 156 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 153 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 157 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 154 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 158 { "root": [ "./src/c.ts", @@ -740,28 +738,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 160 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 161 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 162 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 163 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 160 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 164 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 161 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 165 { "root": [ "./src/a.ts", @@ -810,7 +808,7 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -833,8 +831,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} Timeout callback:: count: 1 11: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation *new* @@ -890,7 +888,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -898,8 +896,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -971,11 +969,11 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib: - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":157} + {"inode":161} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":159} + {"inode":163} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -995,15 +993,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":148} + {"inode":152} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":150} + {"inode":154} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":152} + {"inode":156} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1041,7 +1039,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1152,7 +1150,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -1268,7 +1266,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1491,22 +1489,22 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":157} + {"inode":161} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":159} + {"inode":163} /home/src/projects/c/3/c-impl/c/lib: - {"inode":148} + {"inode":152} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":150} + {"inode":154} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":152} + {"inode":156} Timeout callback:: count: 3 30: /home/src/projects/b/2/b-impl/b/tsconfig.json *new* @@ -1548,7 +1546,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1577,12 +1575,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1681,8 +1679,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1842,40 +1840,40 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/a/1/a-i Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/a/1/a-impl/a/lib/index.d.ts 0:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 1 37: timerToUpdateChildWatches -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 153 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 154 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 157 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 164 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -1917,9 +1915,9 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1943,11 +1941,11 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":168} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} + {"inode":172} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} Timeout callback:: count: 1 37: timerToUpdateChildWatches *new* @@ -1977,7 +1975,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2016,11 +2014,11 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":169} + {"inode":173} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -2044,11 +2042,11 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":168} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} + {"inode":172} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} Timeout callback:: count: 1 39: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation *new* @@ -2099,7 +2097,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2107,8 +2105,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2180,11 +2178,11 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib: - {"inode":169} + {"inode":173} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -2204,15 +2202,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":164} + {"inode":168} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":168} + {"inode":172} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -2253,7 +2251,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 8655876e5b89d..6f1ff79d77d76 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -510,16 +510,14 @@ 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.es2024.full.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -570,7 +568,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -695,7 +693,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 146 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 150 export const a = 10; @@ -825,7 +823,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 147 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 151 export const a = 10; @@ -962,26 +960,26 @@ 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 created 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 153 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 154 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 155 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 156 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 153 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 157 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 154 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 158 { "root": [ "./src/c.ts", @@ -991,28 +989,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 160 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 161 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 162 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 163 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 160 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 164 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 161 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 165 { "root": [ "./src/a.ts", @@ -1273,7 +1271,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1281,8 +1279,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1341,8 +1339,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -1420,7 +1418,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1535,7 +1533,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -1651,7 +1649,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1920,7 +1918,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2066,12 +2064,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -2120,8 +2118,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -2322,40 +2320,40 @@ Custom watchDirectory:: Triggered Ignored:: {"id":30,"path":"/home/src/projects/ Custom watchDirectory:: Triggered Ignored:: {"id":30,"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 updated Custom watchDirectory:: Triggered Ignored:: {"id":30,"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/tsconfig.tsbuildinfo] file written with same contents Inode:: 153 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 154 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 157 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 164 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -2456,7 +2454,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2618,7 +2616,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2626,8 +2624,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2686,8 +2684,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -2768,7 +2766,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a8a6a7a28cf8f..572297d690fb1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -261,8 +261,6 @@ 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* @@ -299,8 +297,8 @@ FsWatches:: {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":45} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: *new* @@ -321,7 +319,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -446,7 +444,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 146 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 150 export const a = 10; @@ -576,7 +574,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 147 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 151 export const a = 10; @@ -728,26 +726,26 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/node_modules/a/tsconfig.tsbuildinfo.readable.baseline.txt :: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 153 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 154 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 155 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 156 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 153 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 157 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 154 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 158 { "root": [ "./src/c.ts", @@ -757,28 +755,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 160 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 161 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 162 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 163 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 160 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 164 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 161 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 165 { "root": [ "./src/a.ts", @@ -840,7 +838,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -848,8 +846,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -921,9 +919,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":157} + {"inode":161} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":159} + {"inode":163} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -937,13 +935,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":150} + {"inode":154} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":152} + {"inode":156} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -989,7 +987,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1108,7 +1106,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/a/2/unrelated/anotherFile.ts :: WatchInfo: /home/src/projects/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 14: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -1232,7 +1230,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/c/4/unrelated/anotherFile.ts :: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 16: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1449,18 +1447,18 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":157} + {"inode":161} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":159} + {"inode":163} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":150} + {"inode":154} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":152} + {"inode":156} FsWatchesRecursive:: /home/src/projects/a: @@ -1514,7 +1512,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1543,12 +1541,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1631,8 +1629,8 @@ FsWatches:: {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1823,40 +1821,40 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts :: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 41: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 153 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 154 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 157 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 164 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 165 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -1896,9 +1894,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -1912,11 +1910,11 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":168} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} + {"inode":172} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: @@ -1954,7 +1952,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2002,7 +2000,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2010,8 +2008,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2083,9 +2081,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -2099,13 +2097,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":168} + {"inode":172} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -2154,7 +2152,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f72c1c7632170..c84e04b90e05a 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.es2024.full.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] 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.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":3,"path":"/home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -510,16 +510,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/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.es2024.full.d.ts: *new* - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -570,7 +568,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1284,7 +1282,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1292,8 +1290,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1352,8 +1350,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -1431,7 +1429,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1931,7 +1929,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2077,12 +2075,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -2131,8 +2129,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -2476,7 +2474,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2638,7 +2636,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2646,8 +2644,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2706,8 +2704,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.es2024.full.d.ts: - {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":3,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -2788,7 +2786,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 01583d09aba67..3b614c9d5ad9d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -261,8 +261,6 @@ 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* @@ -299,7 +297,7 @@ FsWatches:: {} /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -321,7 +319,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -840,7 +838,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -848,8 +846,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -942,7 +940,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -989,7 +987,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1450,7 +1448,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1479,12 +1477,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1567,7 +1565,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1818,7 +1816,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1866,7 +1864,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1874,8 +1872,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1968,7 +1966,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -2018,7 +2016,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7087a38f9661f..f525cffda96d4 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,28 +93,26 @@ interface Array { length: 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 151 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 152 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 153 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 154 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 155 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 156 { "root": [ "./src/c.ts", @@ -124,28 +122,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 158 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 159 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 160 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 161 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 162 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 163 { "root": [ "./src/a.ts", @@ -293,7 +291,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.es2024.full.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] event: { "seq": 0, @@ -301,10 +299,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 9, - "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.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 @@ -526,7 +524,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -534,8 +532,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -647,8 +645,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.es2024.full.d.ts: *new* - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -713,7 +711,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -824,7 +822,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 160 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 164 export const a = 10; @@ -940,7 +938,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 161 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 165 export const a = 10; @@ -1056,7 +1054,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -1172,7 +1170,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1442,7 +1440,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1588,12 +1586,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1642,8 +1640,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.es2024.full.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1854,40 +1852,40 @@ Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/ Custom watchDirectory:: Triggered Ignored:: {"id":25,"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 updated Custom watchDirectory:: Triggered Ignored:: {"id":25,"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/tsconfig.tsbuildinfo] file written with same contents Inode:: 151 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 152 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 155 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 162 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 163 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -1988,7 +1986,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2150,7 +2148,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2158,8 +2156,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2218,8 +2216,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.es2024.full.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -2300,7 +2298,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c5bb922621e1d..87745c87c1ca9 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,28 +93,26 @@ interface Array { length: 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 151 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 152 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 153 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 154 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 155 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 156 { "root": [ "./src/c.ts", @@ -124,28 +122,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 158 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 159 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 160 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 161 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 162 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 163 { "root": [ "./src/a.ts", @@ -199,7 +197,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.es2024.full.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] 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 @@ -233,7 +231,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -241,8 +239,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -357,11 +355,11 @@ FsWatches:: /home/src/projects: *new* {"inode":3} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":153} + {"inode":157} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":157} + {"inode":161} /home/src/projects/a/1/a-impl/a/node_modules: *new* {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: *new* @@ -381,15 +379,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":146} + {"inode":150} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":148} + {"inode":152} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":150} + {"inode":154} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":45} Projects:: /home/src/projects/b/2/b-impl/b/tsconfig.json (Configured) *new* @@ -418,7 +416,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -529,7 +527,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 160 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 164 export const a = 10; @@ -645,7 +643,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 161 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 165 export const a = 10; @@ -761,7 +759,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -877,7 +875,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1100,22 +1098,22 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib: - {"inode":153} + {"inode":157} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":157} + {"inode":161} /home/src/projects/c/3/c-impl/c/lib: - {"inode":146} + {"inode":150} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":148} + {"inode":152} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":150} + {"inode":154} Timeout callback:: count: 3 19: /home/src/projects/b/2/b-impl/b/tsconfig.json *new* @@ -1158,7 +1156,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1187,12 +1185,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1291,8 +1289,8 @@ FsWatches:: {"inode":34} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1453,40 +1451,40 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/a/1/a-i Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/a/1/a-impl/a/lib/index.d.ts 0:: WatchInfo: /home/src/projects/a/1/a-impl/a/lib/index.d.ts 500 undefined WatchType: Closed Script info Before running Timeout callback:: count: 1 26: timerToUpdateChildWatches -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 151 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 152 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 155 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 162 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 163 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -1528,9 +1526,9 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1554,11 +1552,11 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":168} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} + {"inode":172} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} Timeout callback:: count: 1 26: timerToUpdateChildWatches *new* @@ -1588,7 +1586,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1627,11 +1625,11 @@ FsWatches:: /home/src/projects/a/1/a-impl/a: {"inode":19} /home/src/projects/a/1/a-impl/a/lib: *new* - {"inode":169} + {"inode":173} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1655,11 +1653,11 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":168} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} + {"inode":172} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} Timeout callback:: count: 1 28: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation *new* @@ -1710,7 +1708,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1718,8 +1716,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1791,11 +1789,11 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib: - {"inode":169} + {"inode":173} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/node_modules: {"inode":25} /home/src/projects/a/1/a-impl/a/package.json: @@ -1815,15 +1813,15 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib: *new* - {"inode":164} + {"inode":168} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":168} + {"inode":172} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a: @@ -1864,7 +1862,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 283e42705766f..fb16117a8c4b6 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,28 +93,26 @@ interface Array { length: 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 151 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 152 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 153 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 154 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 155 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 156 { "root": [ "./src/c.ts", @@ -124,28 +122,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 158 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 159 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 160 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 161 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 162 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 163 { "root": [ "./src/a.ts", @@ -293,7 +291,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.es2024.full.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] event: { "seq": 0, @@ -301,10 +299,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 9, - "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.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 @@ -526,7 +524,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -534,8 +532,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -647,8 +645,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.es2024.full.d.ts: *new* - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -713,7 +711,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -824,7 +822,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 160 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 164 export const a = 10; @@ -940,7 +938,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 161 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 165 export const a = 10; @@ -1056,7 +1054,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in a Before running Timeout callback:: count: 0 -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -1172,7 +1170,7 @@ After running Immedidate callback:: count: 0 change in unrelated folder in c Before running Timeout callback:: count: 0 -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1442,7 +1440,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1588,12 +1586,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1642,8 +1640,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.es2024.full.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1845,40 +1843,40 @@ Custom watchDirectory:: Triggered Ignored:: {"id":25,"path":"/home/src/projects/ Custom watchDirectory:: Triggered Ignored:: {"id":25,"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 updated Custom watchDirectory:: Triggered Ignored:: {"id":25,"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/tsconfig.tsbuildinfo] file written with same contents Inode:: 151 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 152 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 155 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 162 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 163 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -1979,7 +1977,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2141,7 +2139,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2149,8 +2147,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2209,8 +2207,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.es2024.full.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -2291,7 +2289,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 008e2247339bd..a173228dd7adf 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,28 +93,26 @@ interface Array { length: 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 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 151 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 148 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 152 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 149 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 153 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 150 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 154 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 151 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] Inode:: 155 {"root":["./src/c.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 152 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 156 { "root": [ "./src/c.ts", @@ -124,28 +122,28 @@ export * from './c'; "size": 66 } -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 154 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 158 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 155 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 159 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 160 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 157 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 161 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 158 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] Inode:: 162 {"root":["./src/a.ts","./src/index.ts"],"version":"FakeTSVersion"} -//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 159 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] Inode:: 163 { "root": [ "./src/a.ts", @@ -199,7 +197,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.es2024.full.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] 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 @@ -233,7 +231,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -241,8 +239,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -357,9 +355,9 @@ FsWatches:: /home/src/projects: *new* {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":157} + {"inode":161} /home/src/projects/a/1/a-impl/a/package.json: *new* {"inode":24} /home/src/projects/b: *new* @@ -373,13 +371,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: *new* {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":148} + {"inode":152} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":150} + {"inode":154} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":45} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -420,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -535,7 +533,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/a/2/unrelated/somethingUnrelated.ts :: WatchInfo: /home/src/projects/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 2: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 160 +//// [/home/src/projects/a/2/unrelated/somethingUnrelated.ts] Inode:: 164 export const a = 10; @@ -659,7 +657,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/c/4/unrelated/somethingUnrelated.ts :: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 4: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 161 +//// [/home/src/projects/c/4/unrelated/somethingUnrelated.ts] Inode:: 165 export const a = 10; @@ -783,7 +781,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/a/2/unrelated/anotherFile.ts :: WatchInfo: /home/src/projects/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 6: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 162 +//// [/home/src/projects/a/2/unrelated/anotherFile.ts] Inode:: 166 export const a = 10; @@ -907,7 +905,7 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/c/4/unrelated/anotherFile.ts :: WatchInfo: /home/src/projects/c 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 8: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 163 +//// [/home/src/projects/c/4/unrelated/anotherFile.ts] Inode:: 167 export const a = 10; @@ -1124,18 +1122,18 @@ FsWatches:: {"inode":36} /home/src/projects/c/3/c-impl/c/package.json: {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":155} + {"inode":159} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":157} + {"inode":161} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":148} + {"inode":152} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":150} + {"inode":154} FsWatchesRecursive:: /home/src/projects/a: @@ -1190,7 +1188,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1219,12 +1217,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1307,8 +1305,8 @@ FsWatches:: {"inode":33} /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1500,40 +1498,40 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/b/2/b-impl/b/tsconfig.jso Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/b/2/b-impl/b/node_modules/a/lib/index.d.ts :: WatchInfo: /home/src/projects/b/2/b-impl/b/node_modules/a 1 undefined Project: /home/src/projects/b/2/b-impl/b/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 1 33: /home/src/projects/b/2/b-impl/b/tsconfig.jsonFailedLookupInvalidation -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 151 -//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 152 -//// [/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 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo] file written with same contents Inode:: 155 +//// [/home/src/projects/c/3/c-impl/c/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 156 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo] file written with same contents Inode:: 162 +//// [/home/src/projects/a/1/a-impl/a/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents Inode:: 163 +//// [/home/src/projects/c/3/c-impl/c/lib/c.js] Inode:: 169 export const c = 'test'; -//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 166 +//// [/home/src/projects/c/3/c-impl/c/lib/c.d.ts] Inode:: 170 export declare const c: string; -//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 167 +//// [/home/src/projects/c/3/c-impl/c/lib/index.js] Inode:: 171 export * from './c'; -//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 168 +//// [/home/src/projects/c/3/c-impl/c/lib/index.d.ts] Inode:: 172 export * from './c'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 170 +//// [/home/src/projects/a/1/a-impl/a/lib/a.js] Inode:: 174 export const a = 'test'; -//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 171 +//// [/home/src/projects/a/1/a-impl/a/lib/a.d.ts] Inode:: 175 export declare const a: string; -//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 172 +//// [/home/src/projects/a/1/a-impl/a/lib/index.js] Inode:: 176 export * from './a'; export * from 'c'; -//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 173 +//// [/home/src/projects/a/1/a-impl/a/lib/index.d.ts] Inode:: 177 export * from './a'; export * from 'c'; @@ -1573,9 +1571,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: *new* - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: *new* - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -1589,11 +1587,11 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: *new* - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: *new* - {"inode":168} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} + {"inode":172} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatchesRecursive:: /home/src/projects/b/2/b-impl/b/node_modules: @@ -1631,7 +1629,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1679,7 +1677,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1687,8 +1685,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1760,9 +1758,9 @@ FsWatches:: /home/src/projects: {"inode":3} /home/src/projects/a/1/a-impl/a/lib/a.d.ts: - {"inode":171} + {"inode":175} /home/src/projects/a/1/a-impl/a/lib/index.d.ts: - {"inode":173} + {"inode":177} /home/src/projects/a/1/a-impl/a/package.json: {"inode":24} /home/src/projects/b: @@ -1776,13 +1774,13 @@ FsWatches:: /home/src/projects/b/2/b-impl/b/tsconfig.json: {"inode":36} /home/src/projects/c/3/c-impl/c/lib/c.d.ts: - {"inode":166} + {"inode":170} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: - {"inode":168} + {"inode":172} /home/src/projects/c/3/c-impl/c/package.json: *new* {"inode":12} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":47} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":45} FsWatchesRecursive:: /home/src/projects/a: *new* @@ -1831,7 +1829,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 7a76d0ed3589b..ecabf683b864f 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,8 +93,6 @@ interface Array { length: 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] export const c = 'test'; @@ -293,7 +291,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.es2024.full.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] event: { "seq": 0, @@ -301,10 +299,10 @@ Info seq [hh:mm:ss:mss] event: "event": "createFileWatcher", "body": { "id": 9, - "path": "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts" + "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"} +Custom watchFile:: Added:: {"id":9,"path":"/home/src/tslibs/TS/Lib/lib.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 @@ -526,7 +524,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -534,8 +532,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -647,8 +645,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.es2024.full.d.ts: *new* - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: *new* @@ -713,7 +711,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1442,7 +1440,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1588,12 +1586,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1642,8 +1640,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.es2024.full.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} PolledWatches *deleted*:: /home/src/projects/c/3/c-impl/c/package.json: @@ -1988,7 +1986,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -2150,7 +2148,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -2158,8 +2156,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -2218,8 +2216,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.es2024.full.d.ts: - {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts"}} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"event":{"id":9,"path":"/home/src/tslibs/TS/Lib/lib.d.ts"}} FsWatches:: /home/src/projects: @@ -2300,7 +2298,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 83da22f52937e..cbe81ef0c6afd 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,8 +93,6 @@ interface Array { length: 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] export const c = 'test'; @@ -199,7 +197,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.es2024.full.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] 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 @@ -233,7 +231,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -241,8 +239,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -378,7 +376,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -420,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.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1126,7 +1124,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1155,12 +1153,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -1243,7 +1241,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/lib/index.d.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -1495,7 +1493,7 @@ ScriptInfos:: pendingReloadFromDisk: true deferredDelete: undefined *changed* containingProjects: 0 -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/b/2/b-impl/b/tsconfig.json @@ -1543,7 +1541,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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" @@ -1551,8 +1549,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../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 @@ -1645,7 +1643,7 @@ FsWatches:: {} /home/src/projects/c/3/c-impl/c/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -1695,7 +1693,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 883ff9a54da20..2016da93f1a6f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library c/fc.ts Imported via "./c/fc" from file 'a.ts' Matched by default include pattern '**/*' @@ -186,8 +186,6 @@ 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* @@ -196,7 +194,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /users/username/projects/a/c/fc.ts: *new* {} @@ -214,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /users/username/projects/a/tsconfig.json @@ -273,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library c/fc.ts Imported via "./c/fc" from file 'b.ts' Matched by default include pattern '**/*' @@ -385,7 +383,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/a/c/fc.ts: {} @@ -413,7 +411,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /users/username/projects/a/tsconfig.json @@ -483,7 +481,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/a/tsconfig.json: {} @@ -503,7 +501,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /users/username/projects/a/tsconfig.json @@ -576,7 +574,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /users/username/projects/a/tsconfig.json: {} @@ -594,7 +592,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 2dfc5c82acd8b..76f47bc5e1da2 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library AxiosHeaders.js Root file specified for compilation @@ -142,8 +142,6 @@ 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* @@ -174,7 +172,7 @@ c:/temp/replay/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +C:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* {} @@ -195,7 +193,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +C:/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -254,7 +252,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +C:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -311,15 +309,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library AxiosHeaders.js Imported via "./AxiosHeaders.js" from file 'dispatchRequest.js' settle.js @@ -333,12 +331,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.es2024.full.d.ts + C:/home/src/tslibs/TS/Lib/lib.d.ts c:/temp/replay/axios-src/lib/core/AxiosHeaders.js - ../../../../../home/src/tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library AxiosHeaders.js Root file specified for compilation @@ -418,7 +416,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +C:/home/src/tslibs/TS/Lib/lib.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} @@ -453,7 +451,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +C:/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject2* *new* @@ -506,13 +504,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library AxiosHeaders.js Imported via "./AxiosHeaders.js" from file 'mergeConfig.js' mergeConfig.js @@ -580,7 +578,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +C:/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /dev/null/inferredProject2* @@ -684,7 +682,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +C:/home/src/tslibs/TS/Lib/lib.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} @@ -719,7 +717,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +C:/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 /dev/null/inferredProject2* @@ -766,7 +764,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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;" @@ -842,7 +840,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +C:/home/src/tslibs/TS/Lib/lib.d.ts: {} C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} @@ -879,7 +877,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject2* ScriptInfos:: -C:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +C:/home/src/tslibs/TS/Lib/lib.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 9ca60c7b7bde5..e5a17fb87f6c7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library src/index.ts Matched by default include pattern '**/*' @@ -282,8 +282,6 @@ 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* @@ -318,7 +316,7 @@ FsWatches:: {} /home/src/projects/project/packages/dep/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -344,7 +342,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/packages/app/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 ba5f666910035..0060f9b24fd11 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -156,8 +156,6 @@ 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* @@ -166,7 +164,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/tsconfig.json: *new* {} @@ -182,7 +180,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -238,13 +236,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' unitTest1.ts @@ -293,7 +291,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -316,7 +314,7 @@ Projects:: autoImportProviderHost: undefined *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -373,7 +371,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -391,7 +389,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -566,7 +564,7 @@ Projects:: dirty: true *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -597,12 +595,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' @@ -651,7 +649,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/myproject/tsconfig.json: {} @@ -716,13 +714,13 @@ Info 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.ts Matched by default include pattern '**/*' unitTest1.ts @@ -771,7 +769,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: *new* {} @@ -793,7 +791,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/tsconfig.json @@ -850,7 +848,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -868,7 +866,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 d80ce3d46149b..ede1227124a13 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library src/dts.d.ts Matched by include pattern 'src' in 'tsconfig.json' src/js.js @@ -217,8 +217,6 @@ 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* @@ -239,7 +237,7 @@ FsWatches:: {} /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -277,7 +275,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 65eeea6b7d11d..8536c46df7898 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.js Matched by default include pattern '**/*' @@ -183,13 +183,11 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -202,7 +200,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json diff --git a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js index 2b16f38111d56..c5eb5dbe75be8 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js +++ b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js @@ -444,7 +444,7 @@ Info seq [hh:mm:ss:mss] event: "line": 34, "offset": 16 }, - "text": "Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'esnext.iterator', 'esnext.float16', 'esnext.typedarrays', 'esnext.error', 'esnext.sharedmemory', 'decorators', 'decorators.legacy'.", + "text": "Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'es2024', 'es2025', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.arraybuffer', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'es2024.arraybuffer', 'es2024.collection', 'es2024.object', 'es2024.promise', 'es2024.regexp', 'es2024.sharedmemory', 'es2024.string', 'es2025.collection', 'es2025.float16', 'es2025.intl', 'es2025.iterator', 'es2025.promise', 'es2025.regexp', 'esnext.asynciterable', 'esnext.symbol', 'esnext.bigint', 'esnext.weakref', 'esnext.object', 'esnext.regexp', 'esnext.string', 'esnext.collection', 'esnext.float16', 'esnext.iterator', 'esnext.promise', 'esnext.array', 'esnext.decorators', 'esnext.disposable', 'esnext.error', 'esnext.intl', 'esnext.sharedmemory', 'esnext.typedarrays', 'decorators', 'decorators.legacy'.", "code": 6046, "category": "error", "fileName": "/home/src/projects/project/tsconfig.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 2bf1fc8da0b8a..54322c3f7b552 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.es2024.full.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] 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,19 +43,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -68,7 +66,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -81,7 +79,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -109,11 +107,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", "/home/src/projects/project/a.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -163,7 +161,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -187,7 +185,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -235,7 +233,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 9857ca4040d5f..85aca34159021 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.es2024.full.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] 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,19 +75,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -98,7 +96,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -115,7 +113,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json @@ -143,7 +141,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a.js" ], "compilerOptions": { @@ -341,7 +339,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 43b31a4655cc5..57a9624154269 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Root file specified for compilation @@ -72,8 +72,6 @@ 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 +84,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 8258c669a4c60..481dfea3f4825 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -160,8 +160,6 @@ 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* @@ -174,7 +172,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -192,7 +190,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -237,7 +235,7 @@ FsWatches:: {} /home/src/projects/project/a/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -257,7 +255,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/a/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/a/tsconfig.json @@ -285,12 +283,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.ts Root file specified for compilation @@ -298,12 +296,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -353,7 +351,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -387,7 +385,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /dev/null/inferredProject1* *new* @@ -437,12 +435,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' @@ -508,7 +506,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -534,7 +532,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 605bc6beb2ffa..df7315419db74 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.es2024.full.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] 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,19 +47,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -72,7 +70,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -85,7 +83,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -113,11 +111,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", "/home/src/projects/project/a.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -167,7 +165,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -191,7 +189,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -239,7 +237,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -269,12 +267,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library b.js Root file specified for compilation @@ -283,11 +281,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject2*", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/b.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -336,7 +334,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -360,7 +358,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -418,7 +416,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 33eef054f6cd5..aa3acf4afaa45 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library hunter2/a.ts Part of 'files' list in tsconfig.json @@ -183,8 +183,6 @@ 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* @@ -195,7 +193,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -213,7 +211,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 90a14b080ccdc..5c67a5eff18a2 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.js Matched by default include pattern '**/*' b.ts @@ -97,8 +97,6 @@ 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* @@ -111,7 +109,7 @@ FsWatches:: {} /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -132,7 +130,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json @@ -160,7 +158,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a.js", "/home/src/projects/project/b.ts" ], @@ -357,7 +355,7 @@ FsWatches:: {} /home/src/projects/project/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 545b832c08e2c..eb74eaba0bc00 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.es2024.full.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] 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,19 +80,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -103,7 +101,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -120,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /home/src/projects/project/jsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/jsconfig.json @@ -148,7 +146,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/home/src/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a.js" ], "compilerOptions": { @@ -357,7 +355,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/jsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 0e642f6aeb41e..2a29da004ac9c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a.ts Root file specified for compilation @@ -114,8 +114,6 @@ 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* @@ -128,7 +126,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -141,7 +139,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj @@ -184,7 +182,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -197,7 +195,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj @@ -240,7 +238,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} ScriptInfos:: @@ -249,7 +247,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj @@ -268,12 +266,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.d.ts /home/src/projects/project/a.ts - ../../../tslibs/TS/Lib/lib.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a.ts Root file specified for compilation @@ -303,7 +301,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/projects/project/a.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -317,7 +315,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/hunter2/foo.csproj *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 0 *changed* /home/src/projects/project/hunter2/foo.csproj *deleted* @@ -354,12 +352,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../a.ts Root file specified for compilation @@ -390,7 +388,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a.ts: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -403,7 +401,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/hunter2/foo.csproj *new* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* /home/src/projects/project/hunter2/foo.csproj *new* @@ -446,7 +444,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatches *deleted*:: @@ -459,7 +457,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/hunter2/foo.csproj *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 32168a5b6bccf..60fb046ae19e0 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.es2024.full.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] 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,19 +59,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -90,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -103,7 +101,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -131,11 +129,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", "/home/src/projects/project/a/large.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -185,7 +183,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -209,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -263,7 +261,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 8a5739587c786..24b862030e59c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.d.ts Root file specified for compilation app.html @@ -69,8 +69,6 @@ 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* @@ -79,7 +77,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.d.ts: *new* {} @@ -90,7 +88,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/proj.csproj @@ -126,7 +124,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/proj.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.d.ts", "/user/username/projects/project/app.html" ], @@ -269,7 +267,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 b2741f79c9837..39f191e293f86 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Imported via 'bar' from file 'app.js' app.js @@ -119,8 +119,6 @@ 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* @@ -139,7 +137,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -166,7 +164,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -189,7 +187,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -391,7 +389,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 0a42d14229d36..e684c4b5fa696 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,8 +86,6 @@ 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 +102,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 484bd5507045e..e8724489fee34 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -93,8 +93,6 @@ 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* @@ -113,7 +111,7 @@ FsWatches:: {} /home/src/projects/project/c.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -139,7 +137,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 04593c07c29a8..8dc4880b6aa8e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -93,8 +93,6 @@ 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* @@ -113,7 +111,7 @@ FsWatches:: {} /home/src/projects/project/c.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -139,7 +137,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 52f153ff93020..2e14eaafd6406 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,8 +86,6 @@ 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 +102,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 f0b362dd4441a..98cf20c6c12a6 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,8 +86,6 @@ 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 +102,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d72dfd099bea6..4a0ab27a3df7d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,8 +86,6 @@ 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 +102,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* 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 e14b0f8fe71ad..cd5718c7650f0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -86,8 +86,6 @@ 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 +102,7 @@ FsWatches:: {} /home/src/projects/project/b.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -126,7 +124,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a142d63ab31be..7f75631585dfb 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library a.ts Imported via './a' from file 'b.ts' b.ts @@ -93,8 +93,6 @@ 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* @@ -113,7 +111,7 @@ FsWatches:: {} /home/src/projects/project/c.ts: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -139,7 +137,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 33d1f10fea953..d6a921470b494 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library test.ts Matched by default include pattern '**/*' ../lib/@types/UpperCasePackage/index.d.ts @@ -251,11 +251,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/lib/@app/lib/index.d.ts: *new* {} @@ -281,7 +279,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json @@ -326,7 +324,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json @@ -350,7 +348,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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}" @@ -395,7 +393,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dc021b0955488..3770fbe475118 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library a.ts Matched by default include pattern '**/*' ../typedefs/filesystem.d.ts @@ -177,8 +177,6 @@ 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* @@ -189,7 +187,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject/background/tsconfig.json: *new* {} @@ -207,7 +205,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 c51d9a9de5379..1e033be439625 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.es2024.full.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] 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,19 +49,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -82,7 +80,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -95,7 +93,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -123,11 +121,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -187,7 +185,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -214,7 +212,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -270,7 +268,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -317,7 +315,7 @@ ScriptInfos:: version: SVC-1-1 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -326,7 +324,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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 f4c257fd734b8..da76faff9f19e 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.es2024.full.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] 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,19 +78,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -99,7 +97,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -114,7 +112,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -158,7 +156,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -325,7 +323,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -464,13 +462,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -481,7 +479,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -623,7 +621,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -646,7 +644,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a98ce1202e8cb..c3f58535f52e3 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.es2024.full.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] 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,19 +104,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -125,7 +123,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -140,7 +138,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -184,7 +182,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -353,7 +351,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/package.json: *new* {} @@ -482,13 +480,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -499,7 +497,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -631,7 +629,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/package.json: {} @@ -653,7 +651,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 6cb7a13802881..3704a7845544f 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.es2024.full.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] 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,19 +77,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -98,7 +96,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -113,7 +111,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -157,7 +155,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -328,7 +326,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/bower.json: *new* {} @@ -467,13 +465,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -484,7 +482,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -628,7 +626,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/bower.json: {} @@ -651,7 +649,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a05a82127a2a6..9250bfb768115 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/jquery/index.js Imported via "jquery" from file 'app.js' app.js @@ -121,15 +121,13 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -150,7 +148,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -220,7 +218,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -503,13 +501,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Imported via "jquery" from file 'app.js' Matched by default include pattern '**/*' @@ -521,7 +519,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts", "/user/username/projects/project/app.js" ], @@ -610,13 +608,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts Imported via "jquery" from file 'app.js' app.js @@ -627,7 +625,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -724,7 +722,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -758,7 +756,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 ddbdead69ee67..332f4898b3bfd 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,26 +95,24 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -129,7 +127,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -195,7 +193,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -389,7 +387,7 @@ Info seq [hh:mm:ss:mss] response: After request FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -414,7 +412,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 e4df58c36e893..0fb88b3e64d55 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,30 +104,28 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -146,7 +144,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -212,7 +210,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -442,7 +440,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -467,7 +465,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 982d24f68d24b..814b923959022 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.es2024.full.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] 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,19 +98,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -119,7 +117,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -134,7 +132,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -200,7 +198,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -393,7 +391,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -423,7 +421,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -556,13 +554,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -577,7 +575,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -729,7 +727,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -760,7 +758,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a08467fa1ca05..ce09fb3475efa 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry-lockFile3.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry-lockFile3.js @@ -82,23 +82,21 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../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* @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -120,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -157,11 +155,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -279,7 +277,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -307,7 +305,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -371,13 +369,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/app.js Root file specified for compilation ../../../Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -388,12 +386,12 @@ 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", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -440,7 +438,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -466,7 +464,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -527,7 +525,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -546,7 +544,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 49a10f672538b..4991e8df27703 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js @@ -82,23 +82,21 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../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* @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -120,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -157,11 +155,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -279,7 +277,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -307,7 +305,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -371,13 +369,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../projects/project/app.js Root file specified for compilation ../../../Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -388,12 +386,12 @@ 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", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -440,7 +438,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -466,7 +464,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -527,7 +525,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -546,7 +544,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 26d3380f92b40..54295b730887a 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.es2024.full.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] 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,19 +53,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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* @@ -74,7 +72,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -85,7 +83,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -129,7 +127,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.ts" ], "compilerOptions": { @@ -258,7 +256,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 7e83ce8c230ac..1fe0d1c71e410 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.es2024.full.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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../tslibs/TS/Lib/lib.d.ts + Default library ../b/app.js Root file specified for compilation ../../node_modules/@types/node/index.d.ts @@ -87,8 +87,6 @@ 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* @@ -115,7 +113,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.js: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -138,7 +136,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/projects/project/a/app/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /home/src/projects/project/a/app/test.csproj @@ -178,7 +176,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/home/src/projects/project/a/b/app.js" ], "compilerOptions": { @@ -348,7 +346,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/a/b/app.js: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 8c99099a828f0..84a31289a2bc7 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/app.ts Root file specified for compilation @@ -113,8 +113,6 @@ 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* @@ -123,7 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -134,7 +132,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e08027a7c6910..44f5c9aefef5f 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/jquery.js Root file specified for compilation @@ -117,8 +117,6 @@ 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* @@ -127,7 +125,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jquery.js: *new* {} @@ -138,7 +136,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 e57d112b4854a..8ca672df79c63 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/jquery.js Root file specified for compilation ../project/file2.ts @@ -125,8 +125,6 @@ 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* @@ -135,7 +133,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file2.ts: *new* {} @@ -148,7 +146,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 136557f8d87e2..3e14ed0e28db8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file2.jsx Root file specified for compilation ../project/file3.d.ts @@ -104,8 +104,6 @@ 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* @@ -114,7 +112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file2.jsx: *new* {} @@ -127,7 +125,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -186,7 +184,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file2.jsx", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" @@ -338,7 +336,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file2.jsx: {} @@ -477,15 +475,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file2.jsx Root file specified for compilation ../project/file3.d.ts @@ -500,7 +498,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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", @@ -626,7 +624,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file2.jsx: {} @@ -648,7 +646,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 dca19dc40c7e7..a48dd92ff78af 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.es2024.full.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] 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,19 +54,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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* @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jquery.js: *new* {} @@ -86,7 +84,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -130,7 +128,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/jquery.js" ], "compilerOptions": { @@ -296,7 +294,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 99dffbba83728..2b61aca456479 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.es2024.full.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] 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,19 +107,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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* @@ -128,7 +126,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -139,7 +137,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -216,7 +214,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project//lodash.js", "/user/username/projects/project//commander.js" @@ -381,7 +379,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -552,7 +550,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 }" @@ -560,8 +558,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -578,7 +576,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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", @@ -733,7 +731,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -763,7 +761,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 1bb8813a68f4b..ba34ed3605c20 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/app.ts Root file specified for compilation @@ -108,8 +108,6 @@ 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* @@ -118,7 +116,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/app.ts: *new* {} @@ -129,7 +127,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 43834ac4e2965..bf22be9469777 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.es2024.full.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] 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,19 +65,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -90,7 +88,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -99,7 +97,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -143,7 +141,7 @@ 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", "/user/username/projects/project/jquery.js" ], "compilerOptions": { @@ -265,7 +263,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js index 3d3650aadc25a..de0a9c585aa0e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js @@ -43,23 +43,21 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../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* @@ -68,7 +66,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -77,7 +75,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -121,11 +119,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", "/user/username/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -246,7 +244,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -274,7 +272,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -338,13 +336,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../../../user/username/projects/project/app.js Root file specified for compilation ../../../Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -355,12 +353,12 @@ 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", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -407,7 +405,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -433,7 +431,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -494,7 +492,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -509,7 +507,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 40074427973e3..070efb26009cb 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.es2024.full.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] 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,19 +54,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -151,11 +149,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -268,7 +266,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} PendingInstalls callback:: count: 1 @@ -314,7 +312,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -347,7 +345,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -422,15 +420,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../Library/Caches/typescript/node_modules/@types/node/index.d.ts Imported via "fs" from file 'app.js' Root file specified for compilation @@ -447,13 +445,13 @@ 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", "/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": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -494,7 +492,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -520,7 +518,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -568,7 +566,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -602,7 +600,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 50ae4d1cb3d24..4639069182bf8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library node_modules/fooo/index.d.ts Imported via "fooo" from file 'app.js' app.js @@ -98,8 +98,6 @@ 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* @@ -126,7 +124,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -147,7 +145,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -187,7 +185,7 @@ 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", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -305,7 +303,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -457,7 +455,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -466,8 +464,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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../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 @@ -486,7 +484,7 @@ 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", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/foo/index.d.ts" ], @@ -607,7 +605,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -652,7 +650,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -661,7 +659,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -669,8 +667,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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../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 @@ -687,7 +685,7 @@ 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", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -841,7 +839,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -855,7 +853,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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;" @@ -867,7 +865,7 @@ 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", "/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 7c5a631d7a7cb..62eb86a180ca9 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library node_modules/fooo/index.d.ts Imported via "fooo" from file 'app.js' app.js @@ -94,8 +94,6 @@ 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* @@ -122,7 +120,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -143,7 +141,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -183,7 +181,7 @@ 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", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -301,7 +299,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -443,14 +441,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../Library/Caches/typescript/node_modules/foo/index.d.ts Imported via "foo" from file 'app.js' Root file specified for compilation @@ -464,7 +462,7 @@ 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", "/home/src/Library/Caches/typescript/node_modules/foo/index.d.ts", "/home/src/projects/project/app.js" ], @@ -583,7 +581,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -616,7 +614,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -625,14 +623,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../Library/Caches/typescript/node_modules/foo/index.d.ts Imported via "foo" from file 'app.js' node_modules/fooo/index.d.ts @@ -645,7 +643,7 @@ 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", "/home/src/projects/project/app.js" ], "compilerOptions": { @@ -753,7 +751,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -806,7 +804,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -820,7 +818,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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\";" @@ -830,7 +828,7 @@ 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", "/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 cbea3a9232286..303b76c12da7e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library config.js Imported via './config' from file 'app.js' Matched by default include pattern '**/*' @@ -122,8 +122,6 @@ 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* @@ -132,7 +130,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project: *new* {} @@ -151,7 +149,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -178,7 +176,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/config.js", "/user/username/projects/project/app.js" ], @@ -386,7 +384,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 09df33a507135..b1362de91e166 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.es2024.full.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] 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,19 +46,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -71,7 +69,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -84,7 +82,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -124,11 +122,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -187,7 +185,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -211,7 +209,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -261,7 +259,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -275,11 +273,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -376,7 +374,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -404,7 +402,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -467,13 +465,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.js Root file specified for compilation ../../Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -484,12 +482,12 @@ 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", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -534,7 +532,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -560,7 +558,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -631,7 +629,7 @@ FsWatches:: {} /home/src/projects/project/package.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -649,7 +647,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 107d12edb208d..b01a6bece3345 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.es2024.full.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] 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,19 +102,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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 +121,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/tsconfig.json: *new* {} @@ -138,7 +136,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -193,7 +191,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -363,7 +361,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/package.json: *new* {} @@ -494,13 +492,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -511,7 +509,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts" ], @@ -643,7 +641,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/package.json: {} @@ -666,7 +664,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -721,7 +719,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/app.js: *new* {} @@ -745,7 +743,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json @@ -798,12 +796,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -812,7 +810,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project2/tsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project2/app.js" ], "compilerOptions": { @@ -953,13 +951,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.es2024.full.d.ts + /home/src/tslibs/TS/Lib/lib.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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/jquery/index.d.ts @@ -1037,7 +1035,7 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project2/package.json: *new* {} @@ -1083,7 +1081,7 @@ ScriptInfos:: version: Text-1 containingProjects: 0 *changed* /user/username/projects/project/tsconfig.json *deleted* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.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 395b8b1c4344b..6c32b7ee28e4f 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,23 +82,21 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../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* @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -120,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -157,11 +155,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -216,7 +214,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -244,7 +242,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 8779ee8bff98e..86c05a8096f29 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/non-expired-cache-entry.js @@ -82,23 +82,21 @@ 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../tslibs/TS/Lib/lib.d.ts + Default library ../../../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* @@ -107,7 +105,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -120,7 +118,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -157,11 +155,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -216,7 +214,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -244,7 +242,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 0dffe2e164289..ed91229d1a2d8 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.es2024.full.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] 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,19 +61,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -96,7 +94,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -109,7 +107,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -149,11 +147,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -268,7 +266,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} PendingInstalls callback:: count: 1 @@ -305,7 +303,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -333,7 +331,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 dcc95b5527b4b..cf1f464e1c25f 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.es2024.full.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] 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,19 +50,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -88,7 +86,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -128,11 +126,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -238,7 +236,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 40141c3827e50..771bb14f5386e 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.es2024.full.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] 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,19 +79,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -104,7 +102,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -117,7 +115,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -148,11 +146,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -258,7 +256,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} PendingInstalls callback:: count: 1 @@ -295,7 +293,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -323,7 +321,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -387,13 +385,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.js Root file specified for compilation ../../Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -404,12 +402,12 @@ 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", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -454,7 +452,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -480,7 +478,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -551,7 +549,7 @@ FsWatches:: {} /home/src/projects/project/package.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -570,7 +568,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 be21514ab7dfd..245ec460c21da 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../node_modules/commander/index.js Imported via "commander" from file 'app.js' app.js @@ -82,8 +82,6 @@ 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* @@ -112,7 +110,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -131,7 +129,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -179,11 +177,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", "/user/username/projects/a/b/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -298,7 +296,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -345,7 +343,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -375,7 +373,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -446,13 +444,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts Imported via "commander" from file 'app.js' Root file specified for compilation @@ -464,12 +462,12 @@ 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", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts", "/user/username/projects/a/b/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -510,7 +508,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -536,7 +534,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -590,7 +588,7 @@ PolledWatches *deleted*:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -621,7 +619,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 403973e91e4e3..029fd2e486489 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.es2024.full.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] 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,19 +93,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -114,7 +112,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/jsconfig.json: *new* {} @@ -129,7 +127,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -195,7 +193,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -388,7 +386,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -418,7 +416,7 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /user/username/projects/project/jsconfig.json @@ -551,13 +549,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' ../../../../home/src/Library/Caches/typescript/node_modules/@types/zkat__cacache/index.d.ts @@ -572,7 +570,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/zkat__cacache/index.d.ts" ], @@ -676,12 +674,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library app.js Matched by default include pattern '**/*' @@ -694,7 +692,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/jsconfig.json", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/app.js" ], "compilerOptions": { @@ -798,7 +796,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/jsconfig.json: {} @@ -833,7 +831,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.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0154f195a36e6..144a2bb4939ff 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.es2024.full.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] 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,19 +54,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -87,7 +85,7 @@ FsWatches:: {} /home/src/projects/project: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -100,7 +98,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -140,11 +138,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -252,7 +250,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} PendingInstalls callback:: count: 1 @@ -295,7 +293,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -326,7 +324,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -394,13 +392,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../Library/Caches/typescript/node_modules/node/index.d.ts Imported via "net" from file 'app.js' Imported via "stream" from file 'app.js' @@ -413,12 +411,12 @@ 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", "/home/src/Library/Caches/typescript/node_modules/node/index.d.ts", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -459,7 +457,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -485,7 +483,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -527,7 +525,7 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -554,7 +552,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -598,7 +596,7 @@ ScriptInfos:: version: SVC-1-1 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -612,13 +610,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library ../../Library/Caches/typescript/node_modules/node/index.d.ts Imported via "net" from file 'app.js' app.js @@ -629,11 +627,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -681,7 +679,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -707,7 +705,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -767,7 +765,7 @@ ScriptInfos:: version: SVC-1-1 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -818,7 +816,7 @@ ScriptInfos:: version: SVC-1-2 *changed* containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -827,7 +825,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\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\");" @@ -836,11 +834,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -891,7 +889,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -918,7 +916,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "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 b91376d39c8a6..ee258ca59ac66 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.es2024.full.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] 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,19 +50,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -88,7 +86,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -116,11 +114,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -179,7 +177,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -203,7 +201,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -253,7 +251,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js index 53381d06db963..371c3683a10b4 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.es2024.full.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] 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,19 +50,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -75,7 +73,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -88,7 +86,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -128,11 +126,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", "/home/src/projects/project/app.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -238,7 +236,7 @@ PolledWatches:: FsWatches:: /home/src/projects/project/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} PendingInstalls callback:: count: 1 @@ -275,7 +273,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -303,7 +301,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -367,13 +365,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../tslibs/TS/Lib/lib.d.ts + Default library app.js Root file specified for compilation ../../Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -384,12 +382,12 @@ 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", "/home/src/projects/project/app.js", "/home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -434,7 +432,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -460,7 +458,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -531,7 +529,7 @@ FsWatches:: {} /home/src/projects/project/package.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -550,7 +548,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 f0aa2f2c71ea5..bf9fe6d05efaf 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.es2024.full.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] 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,19 +95,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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* @@ -116,7 +114,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -127,7 +125,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -226,7 +224,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -384,7 +382,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -437,12 +435,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation @@ -451,7 +449,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -585,7 +583,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -872,7 +870,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 }" @@ -880,8 +878,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -898,7 +896,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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", @@ -1023,14 +1021,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/grunt/index.d.ts @@ -1043,7 +1041,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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" @@ -1174,7 +1172,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -1214,7 +1212,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 0dfc65ffe90ef..8a848733f0670 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.es2024.full.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] 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,19 +103,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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* @@ -124,7 +122,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -135,7 +133,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj @@ -223,7 +221,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project//lodash.js", "/user/username/projects/project//commander.js" @@ -387,7 +385,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -565,7 +563,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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 }" @@ -574,8 +572,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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation ../../../../home/src/Library/Caches/typescript/node_modules/@types/commander/index.d.ts @@ -594,7 +592,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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", @@ -748,7 +746,7 @@ PolledWatches:: FsWatches:: /home/src/Library/Caches/typescript/package.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -782,7 +780,7 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/app/test.csproj -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 a4c2e29a887a7..91c0b3f3898e4 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -183,8 +183,6 @@ 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* @@ -193,7 +191,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -207,7 +205,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -253,12 +251,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../file3.d.ts Root file specified for compilation @@ -267,7 +265,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -359,7 +357,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -373,7 +371,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -421,7 +419,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -479,7 +477,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -594,7 +592,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -717,7 +715,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -904,7 +902,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -931,7 +929,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -1057,7 +1055,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 a90aadeae01f1..a2c5ab65cf0b8 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -181,8 +181,6 @@ 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 +189,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -205,7 +203,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -249,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation @@ -263,7 +261,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -353,7 +351,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -402,12 +400,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation @@ -416,7 +414,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -514,7 +512,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/app/test1.csproj @@ -534,7 +532,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -648,7 +646,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/commander.js" ], @@ -764,7 +762,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -938,7 +936,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -963,7 +961,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -1223,7 +1221,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test3.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js" ], @@ -1249,7 +1247,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test3.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 e52d1b2f25d29..78e1edaba08f0 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -189,8 +189,6 @@ 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* @@ -199,7 +197,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -213,7 +211,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -257,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/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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../project/file3.d.ts Root file specified for compilation @@ -271,7 +269,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -361,7 +359,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -379,7 +377,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -496,7 +494,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -619,7 +617,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -820,7 +818,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -845,7 +843,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.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 f5119f1610be1..b637a78af6e3c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -189,8 +189,6 @@ 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* @@ -199,7 +197,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/file3.d.ts: *new* {} @@ -213,7 +211,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/app/test1.csproj @@ -229,7 +227,7 @@ Info seq [hh:mm:ss:mss] TIAdapter:: Sending request: { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -346,7 +344,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/app/test1.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts", "/user/username/projects/project/lodash.js", "/user/username/projects/project/commander.js" @@ -469,7 +467,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -693,12 +691,12 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../file3.d.ts Root file specified for compilation @@ -707,7 +705,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -807,7 +805,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects/project/file3.d.ts: {} @@ -826,7 +824,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/app/test1.csproj @@ -846,7 +844,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.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -871,7 +869,7 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/user/username/projects/project/app/test2.csproj", "fileNames": [ - "/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "/home/src/tslibs/TS/Lib/lib.d.ts", "/user/username/projects/project/file3.d.ts" ], "compilerOptions": { @@ -982,7 +980,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.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 ca9cabe7e02e4..ac84c29ef0ca1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation @@ -146,8 +146,6 @@ 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 +162,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -185,7 +183,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj @@ -246,7 +244,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -264,7 +262,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 05508cf0f2e7d..16bdbb2a62463 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation @@ -170,8 +170,6 @@ 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* @@ -186,7 +184,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -207,7 +205,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj @@ -266,7 +264,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -284,7 +282,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 c42b90fb37c5b..aaadd22441e90 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation @@ -144,8 +144,6 @@ 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* @@ -160,7 +158,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -181,7 +179,7 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/myproject/project.csproj @@ -240,7 +238,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} /user/username/projects: {} @@ -258,7 +256,7 @@ FsWatchesRecursive:: {} ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 43494aedcf07b..9b07c2094dd25 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -163,8 +163,6 @@ 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* @@ -173,7 +171,7 @@ c:/workspaces/project/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/workspaces/project/file2.ts: *new* {} @@ -191,7 +189,7 @@ c:/workspaces/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.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 77e6d131187a9..7b89689474848 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -159,11 +159,9 @@ 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.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/project/file2.ts: *new* {} @@ -181,7 +179,7 @@ c:/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.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 7eecc1fa873e4..b2bd8ce5f8bfb 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -167,8 +167,6 @@ 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* @@ -181,7 +179,7 @@ c:/workspaces/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/workspaces/myfolder/allproject/project/file2.ts: *new* {} @@ -199,7 +197,7 @@ c:/workspaces/myfolder/allproject/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.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 0672af855e0f7..ab0c1adbcebe9 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library file1.ts Matched by default include pattern '**/*' file2.ts @@ -165,8 +165,6 @@ 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* @@ -177,7 +175,7 @@ c:/myfolder/node_modules/@types: *new* {"pollingInterval":500} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} c:/myfolder/allproject/project/file2.ts: *new* {} @@ -195,7 +193,7 @@ c:/myfolder/allproject/project/tsconfig.json (Configured) *new* autoImportProviderHost: false ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.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 2a89865ae17e2..acdd3ef71aa94 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -124,8 +124,6 @@ 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 +148,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -170,7 +168,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 0ec559a8a841d..171b368ce23d8 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -148,8 +148,6 @@ 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* @@ -172,7 +170,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -192,7 +190,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 da99d6375b8cf..274238e6a0ce1 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -122,8 +122,6 @@ 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* @@ -146,7 +144,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -166,7 +164,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 a31760dbb6e2d..2b3fe51233a78 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo.ts Matched by default include pattern '**/*' @@ -162,8 +162,6 @@ 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* @@ -176,7 +174,7 @@ FsWatches:: {} /Volumes/git/projects/project/tsconfig.json: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} FsWatchesRecursive:: @@ -194,7 +192,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json @@ -227,13 +225,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo.ts Matched by default include pattern '**/*' Bar.ts @@ -284,7 +282,7 @@ FsWatches:: {} /Volumes/git/projects/project/tsconfig.json: {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +/home/src/tslibs/TS/Lib/lib.d.ts: {} FsWatchesRecursive:: @@ -307,7 +305,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /Volumes/git/projects/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 613a988370582..e62873df18c09 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo.ts Root file specified for compilation @@ -81,8 +81,6 @@ 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* @@ -103,7 +101,7 @@ FsWatches:: {} /User/userName/Projects/i: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -117,7 +115,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 5f18c19371498..aca6e7085a3cd 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo.ts Root file specified for compilation @@ -81,8 +81,6 @@ 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* @@ -103,7 +101,7 @@ FsWatches:: {} /User/userName/Projects/I: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -117,7 +115,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 47131a81b34e4..186ad28318f55 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library foo.ts Root file specified for compilation @@ -81,8 +81,6 @@ 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* @@ -103,7 +101,7 @@ FsWatches:: {} /User/userName/Projects/İ: *new* {} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -117,7 +115,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 102b5313305c9..6afa72ca45e0c 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -176,8 +176,6 @@ 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* @@ -200,8 +198,8 @@ FsWatches:: {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":21} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":19} Projects:: /a/username/workspace/project/tsconfig.json (Configured) *new* @@ -218,36 +216,36 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json After writing ignored file or folder -//// [/a/username/workspace/project/node_modules/.cache/someFile.d.ts] Inode:: 121 +//// [/a/username/workspace/project/node_modules/.cache/someFile.d.ts] Inode:: 125 After writing ignored file or folder -//// [/a/username/workspace/project/node_modules/.cacheFile.ts] Inode:: 122 +//// [/a/username/workspace/project/node_modules/.cacheFile.ts] Inode:: 126 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/workspace/project/.git :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/workspace/project/.git :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations After writing ignored file or folder -//// [/a/username/workspace/project/.git/someFile.d.ts] Inode:: 124 +//// [/a/username/workspace/project/.git/someFile.d.ts] Inode:: 128 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/workspace/project/.gitCache.d.ts :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/workspace/project/.gitCache.d.ts :: WatchInfo: /a/username/workspace/project 0 undefined Project: /a/username/workspace/project/tsconfig.json WatchType: Failed Lookup Locations After writing ignored file or folder -//// [/a/username/workspace/project/.gitCache.d.ts] Inode:: 125 +//// [/a/username/workspace/project/.gitCache.d.ts] Inode:: 129 After writing ignored file or folder -//// [/a/username/workspace/project/src/.#field.ts] Inode:: 126 +//// [/a/username/workspace/project/src/.#field.ts] Inode:: 130 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 43267f9f0266e..24bacff55b405 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -175,16 +175,14 @@ 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.es2024.full.d.ts: *new* - {"inode":19} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":17} Timeout callback:: count: 1 1: pollPollingIntervalQueue *new* @@ -204,7 +202,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -244,7 +242,7 @@ After request Before running Timeout callback:: count: 1 1: pollPollingIntervalQueue -//// [/a/username/workspace/project/src/file2.ts] Inode:: 118 +//// [/a/username/workspace/project/src/file2.ts] Inode:: 122 @@ -284,7 +282,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -308,14 +306,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -358,11 +356,11 @@ FsWatches:: /a/username/workspace/project/src/file1.ts: {"inode":7} /a/username/workspace/project/src/file2.ts: *new* - {"inode":118} + {"inode":122} /a/username/workspace/project/tsconfig.json: {"inode":8} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":19} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":17} Timeout callback:: count: 4 5: *ensureProjectForOpenFiles* *deleted* @@ -393,7 +391,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 23a49add5c6a3..c70c365f0f96e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -175,8 +175,6 @@ 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* @@ -193,8 +191,8 @@ FsWatches:: {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":19} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":17} Projects:: /a/username/workspace/project/tsconfig.json (Configured) *new* @@ -211,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -260,7 +258,7 @@ Before running Timeout callback:: count: 3 1: /a/username/workspace/project/tsconfig.json 2: *ensureProjectForOpenFiles* 3: /a/username/workspace/project/tsconfig.jsonFailedLookupInvalidation -//// [/a/username/workspace/project/src/file2.ts] Inode:: 118 +//// [/a/username/workspace/project/src/file2.ts] Inode:: 122 @@ -282,14 +280,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -344,11 +342,11 @@ FsWatches:: /a/username/workspace/project/src/file1.ts: {"inode":7} /a/username/workspace/project/src/file2.ts: *new* - {"inode":118} + {"inode":122} /a/username/workspace/project/tsconfig.json: {"inode":8} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":19} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":17} Timeout callback:: count: 0 3: /a/username/workspace/project/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -373,7 +371,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 3afc71abb4427..8f3972d39e489 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -175,8 +175,6 @@ 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* @@ -193,8 +191,8 @@ FsWatches:: {"inode":7} /a/username/workspace/project/tsconfig.json: *new* {"inode":8} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":19} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":17} Projects:: /a/username/workspace/project/tsconfig.json (Configured) *new* @@ -211,7 +209,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -263,7 +261,7 @@ Before running Timeout callback:: count: 3 3: /a/username/workspace/project/tsconfig.json 4: *ensureProjectForOpenFiles* 5: /a/username/workspace/project/tsconfig.jsonFailedLookupInvalidation -//// [/a/username/workspace/project/src/file2.ts] Inode:: 118 +//// [/a/username/workspace/project/src/file2.ts] Inode:: 122 @@ -289,7 +287,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /a/username/workspace/project/tsconfig.json @@ -301,14 +299,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -334,11 +332,11 @@ FsWatches:: /a/username/workspace/project/src/file1.ts: {"inode":7} /a/username/workspace/project/src/file2.ts: *new* - {"inode":118} + {"inode":122} /a/username/workspace/project/tsconfig.json: {"inode":8} -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":19} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":17} Timeout callback:: count: 1 4: *ensureProjectForOpenFiles* *deleted* @@ -366,7 +364,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /a/username/workspace/project/tsconfig.json *default* -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.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 19d7b0a19f7e0..2362fb697eb80 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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,19 +44,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -69,7 +67,7 @@ c:/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -78,7 +76,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -110,11 +108,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "c:/home/src/tslibs/TS/Lib/lib.d.ts", "c:/myprojects/project/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -164,7 +162,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -188,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -236,7 +234,7 @@ c:/myprojects/project/tsconfig.json: {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +c:/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -281,26 +279,24 @@ 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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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.es2024.full.d.ts: *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -309,7 +305,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -341,11 +337,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts", "//vda1cs4850/myprojects/project/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -391,7 +387,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -415,7 +411,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -492,7 +488,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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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 @@ -500,19 +496,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -525,7 +519,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -538,7 +532,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -566,11 +560,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts", "//vda1cs4850/c$/myprojects/project/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -620,7 +614,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -644,7 +638,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -692,7 +686,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -739,7 +733,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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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 @@ -747,19 +741,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -772,7 +764,7 @@ c:/users/username/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -781,7 +773,7 @@ Projects:: projectProgramVersion: 0 ScriptInfos:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +c:/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -813,11 +805,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "c:/home/src/tslibs/TS/Lib/lib.d.ts", "c:/users/username/myprojects/project/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -867,7 +859,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -891,7 +883,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -939,7 +931,7 @@ c:/users/username/myprojects/project/tsconfig.json: {"pollingInterval":2000} FsWatches:: -c:/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +c:/home/src/tslibs/TS/Lib/lib.d.ts: {} Projects:: @@ -986,7 +978,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.es2024.full.d.ts 500 undefined WatchType: Closed Script info +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] 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 @@ -994,19 +986,17 @@ 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library 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* @@ -1019,7 +1009,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} Projects:: @@ -1032,7 +1022,7 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /dev/null/inferredProject1* @@ -1060,11 +1050,11 @@ TI:: [hh:mm:ss:mss] Got install request { "projectName": "/dev/null/inferredProject1*", "fileNames": [ - "//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts", + "//vda1cs4850/home/src/tslibs/TS/Lib/lib.d.ts", "//vda1cs4850/c$/users/username/myprojects/project/x.js" ], "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1114,7 +1104,7 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1138,7 +1128,7 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { - "target": 11, + "target": 12, "jsx": 1, "allowNonTsExtensions": true, "allowJs": true, @@ -1186,7 +1176,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -//vda1cs4850/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: +//vda1cs4850/home/src/tslibs/TS/Lib/lib.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 ed0085a662fef..ef8c28271d92d 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../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,8 +177,6 @@ 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* @@ -195,8 +193,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":20} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":18} /workspaces/somerepo: *new* {"inode":2} /workspaces/somerepo/node_modules: *new* @@ -217,7 +215,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /workspaces/somerepo/src/tsconfig.json @@ -373,8 +371,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":20} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":18} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/src: @@ -404,7 +402,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /workspaces/somerepo/src/tsconfig.json @@ -456,12 +454,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library main.ts Matched by default include pattern '**/*' @@ -499,8 +497,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":20} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":18} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/src: @@ -671,7 +669,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /workspaces/somerepo/ Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules :: WatchInfo: /workspaces/somerepo 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Before request -//// [/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts] Inode:: 122 +//// [/workspaces/somerepo/node_modules/@types/random-seed/index.d.ts] Inode:: 126 export function randomSeed(): string; @@ -688,14 +686,14 @@ PolledWatches *deleted*:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":20} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":18} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/node_modules: *new* - {"inode":119} + {"inode":123} /workspaces/somerepo/node_modules/@types: *new* - {"inode":120} + {"inode":124} /workspaces/somerepo/src: {"inode":3} /workspaces/somerepo/src/tsconfig.json: @@ -746,13 +744,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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' Entry point for implicit type library 'random-seed' @@ -787,14 +785,14 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":20} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":18} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/node_modules: - {"inode":119} + {"inode":123} /workspaces/somerepo/node_modules/@types: - {"inode":120} + {"inode":124} /workspaces/somerepo/src: {"inode":3} /workspaces/somerepo/src/tsconfig.json: @@ -817,7 +815,7 @@ Projects:: dirty: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 1 /workspaces/somerepo/src/tsconfig.json @@ -921,16 +919,16 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: - {"inode":20} +/home/src/tslibs/TS/Lib/lib.d.ts: + {"inode":18} /workspaces/somerepo: {"inode":2} /workspaces/somerepo/node_modules: - {"inode":119} + {"inode":123} /workspaces/somerepo/node_modules/@types: - {"inode":120} + {"inode":124} /workspaces/somerepo/node_modules/@types/random-seed: *new* - {"inode":121} + {"inode":125} /workspaces/somerepo/src: {"inode":3} /workspaces/somerepo/src/tsconfig.json: 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 ed616e2e50a87..98fd1ce34c0ca 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library tsconfig.json Imported via "./tsconfig.json" from file 'index.ts' index.ts @@ -172,8 +172,6 @@ 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* @@ -182,7 +180,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/myproject: *new* {} @@ -200,7 +198,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 15c13812fe783..cf02ce61d613a 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -195,8 +195,6 @@ 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* @@ -211,7 +209,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -233,7 +231,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 9cd4b2b589a3d..2f5a63f20a7da 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.es2024.full.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.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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts @@ -221,8 +221,6 @@ 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* @@ -237,7 +235,7 @@ PolledWatches:: {"pollingInterval":2000} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects: *new* {} @@ -259,7 +257,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 50429f59bbb85..d1a2153a67261 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.es2024.full.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -188,11 +188,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -212,7 +210,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 7ec9208b7e494..2083f7287a010 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.es2024.full.d.ts 500 {"fallbackPolling":1} WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -195,11 +195,9 @@ 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.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -219,7 +217,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 703e51d72d7db..487c5e7a9c55c 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.es2024.full.d.ts 500 {"watchDirectory":0} WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -188,8 +188,6 @@ 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* @@ -198,8 +196,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":16} /user/username/projects/project: *new* {"inode":4} /user/username/projects/project/commonFile2.ts: *new* @@ -214,7 +212,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 fcda95115b80e..5dd5ffd08910e 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -173,8 +173,6 @@ 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* @@ -183,8 +181,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* - {"inode":18} +/home/src/tslibs/TS/Lib/lib.d.ts: *new* + {"inode":16} /user/username/projects/project: *new* {"inode":4} /user/username/projects/project/commonFile2.ts: *new* @@ -199,7 +197,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 d3e18012dad2f..4ff79096cfe4a 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.es2024.full.d.ts 500 {"watchFile":4} WatchType: Closed Script info +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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -188,8 +188,6 @@ 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 +196,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -216,7 +214,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.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 98737a7928384..9ea19ad5d9178 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.es2024.full.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] 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.es2024.full.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { 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 Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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.es2024.full.d.ts - Default library for target 'es2024' + ../../../../home/src/tslibs/TS/Lib/lib.d.ts + Default library commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts @@ -173,8 +173,6 @@ 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 +181,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts: *new* +/home/src/tslibs/TS/Lib/lib.d.ts: *new* {} /user/username/projects/project/commonFile2.ts: *new* {} @@ -201,7 +199,7 @@ Projects:: autoImportProviderHost: false ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.es2024.full.d.ts *new* +/home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 containingProjects: 1 /user/username/projects/project/tsconfig.json diff --git a/tests/baselines/reference/typeParameterConstModifiersReturnsAndYields.symbols b/tests/baselines/reference/typeParameterConstModifiersReturnsAndYields.symbols index 9b832e9e022e4..680c3eaf7cf5f 100644 --- a/tests/baselines/reference/typeParameterConstModifiersReturnsAndYields.symbols +++ b/tests/baselines/reference/typeParameterConstModifiersReturnsAndYields.symbols @@ -21,7 +21,7 @@ const result2 = test1(() => `a${Math.random()}`); >result2 : Symbol(result2, Decl(typeParameterConstModifiersReturnsAndYields.ts, 5, 5)) >test1 : Symbol(test1, Decl(typeParameterConstModifiersReturnsAndYields.ts, 0, 20)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) const result3 = test1(() => 'a'); @@ -59,7 +59,7 @@ const result10 = test1(() => { return `a${Math.random()}`; }); >result10 : Symbol(result10, Decl(typeParameterConstModifiersReturnsAndYields.ts, 14, 5)) >test1 : Symbol(test1, Decl(typeParameterConstModifiersReturnsAndYields.ts, 0, 20)) >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) const result11 = test1(() => { return 'a'; }); diff --git a/tests/baselines/reference/types.asyncGenerators.es2018.2.symbols b/tests/baselines/reference/types.asyncGenerators.es2018.2.symbols index ec2eea8b3b443..cd485083be971 100644 --- a/tests/baselines/reference/types.asyncGenerators.es2018.2.symbols +++ b/tests/baselines/reference/types.asyncGenerators.es2018.2.symbols @@ -142,7 +142,7 @@ async function * explicitReturnType11(): Iterable { } async function * explicitReturnType12(): Iterator { >explicitReturnType12 : Symbol(explicitReturnType12, Decl(types.asyncGenerators.es2018.2.ts, 68, 1)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) yield 1; } diff --git a/tests/baselines/reference/unionAndIntersectionInference3.symbols b/tests/baselines/reference/unionAndIntersectionInference3.symbols index 41531386e789d..fae407df66d24 100644 --- a/tests/baselines/reference/unionAndIntersectionInference3.symbols +++ b/tests/baselines/reference/unionAndIntersectionInference3.symbols @@ -29,7 +29,7 @@ const g: (com: () => Iterator | AsyncIterator) => Pro >R : Symbol(R, Decl(unionAndIntersectionInference3.ts, 8, 12)) >S : Symbol(S, Decl(unionAndIntersectionInference3.ts, 8, 15)) >com : Symbol(com, Decl(unionAndIntersectionInference3.ts, 8, 19)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >S : Symbol(S, Decl(unionAndIntersectionInference3.ts, 8, 15)) >U : Symbol(U, Decl(unionAndIntersectionInference3.ts, 8, 10)) >R : Symbol(R, Decl(unionAndIntersectionInference3.ts, 8, 12)) @@ -43,7 +43,7 @@ const g: (com: () => Iterator | AsyncIterator) => Pro >R : Symbol(R, Decl(unionAndIntersectionInference3.ts, 8, 99)) >S : Symbol(S, Decl(unionAndIntersectionInference3.ts, 8, 102)) >com : Symbol(com, Decl(unionAndIntersectionInference3.ts, 8, 106)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) >S : Symbol(S, Decl(unionAndIntersectionInference3.ts, 8, 102)) >U : Symbol(U, Decl(unionAndIntersectionInference3.ts, 8, 97)) >R : Symbol(R, Decl(unionAndIntersectionInference3.ts, 8, 99)) diff --git a/tests/baselines/reference/uniqueSymbols.symbols b/tests/baselines/reference/uniqueSymbols.symbols index 530dd96de549a..b4626947c7b15 100644 --- a/tests/baselines/reference/uniqueSymbols.symbols +++ b/tests/baselines/reference/uniqueSymbols.symbols @@ -672,13 +672,13 @@ N["s"] || ""; // conditionals Math.random() * 2 ? s : "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) >s : Symbol(s, Decl(uniqueSymbols.ts, 119, 13)) Math.random() * 2 ? N.s : "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) >N.s : Symbol(N.s, Decl(uniqueSymbols.ts, 120, 27)) >N : Symbol(N, Decl(uniqueSymbols.ts, 119, 31)) @@ -686,7 +686,7 @@ Math.random() * 2 ? N.s : "a"; Math.random() * 2 ? N["s"] : "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) >N : Symbol(N, Decl(uniqueSymbols.ts, 119, 31)) >"s" : Symbol(N.s, Decl(uniqueSymbols.ts, 120, 27)) diff --git a/tests/baselines/reference/uniqueSymbolsDeclarations.symbols b/tests/baselines/reference/uniqueSymbolsDeclarations.symbols index 3bb9b500af549..cc467fb03740f 100644 --- a/tests/baselines/reference/uniqueSymbolsDeclarations.symbols +++ b/tests/baselines/reference/uniqueSymbolsDeclarations.symbols @@ -667,13 +667,13 @@ N["s"] || ""; // conditionals Math.random() * 2 ? s : "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) >s : Symbol(s, Decl(uniqueSymbolsDeclarations.ts, 115, 13)) Math.random() * 2 ? N.s : "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) >N.s : Symbol(N.s, Decl(uniqueSymbolsDeclarations.ts, 116, 27)) >N : Symbol(N, Decl(uniqueSymbolsDeclarations.ts, 115, 31)) @@ -681,7 +681,7 @@ Math.random() * 2 ? N.s : "a"; Math.random() * 2 ? N["s"] : "a"; >Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) ->Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --)) +>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --)) >random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --)) >N : Symbol(N, Decl(uniqueSymbolsDeclarations.ts, 115, 31)) >"s" : Symbol(N.s, Decl(uniqueSymbolsDeclarations.ts, 116, 27)) diff --git a/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols b/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols index caf73d6c9baeb..593adb146709e 100644 --- a/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols +++ b/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols @@ -3,11 +3,11 @@ === usingDeclarationsWithIteratorObject.ts === declare const i: Iterator; >i : Symbol(i, Decl(usingDeclarationsWithIteratorObject.ts, 0, 13)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) declare const io: IteratorObject; >io : Symbol(io, Decl(usingDeclarationsWithIteratorObject.ts, 1, 13)) ->IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) declare const g: Generator; >g : Symbol(g, Decl(usingDeclarationsWithIteratorObject.ts, 2, 13)) @@ -15,7 +15,7 @@ declare const g: Generator; class MyIterator extends Iterator { >MyIterator : Symbol(MyIterator, Decl(usingDeclarationsWithIteratorObject.ts, 2, 41)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) next() { return { done: true, value: undefined }; } >next : Symbol(MyIterator.next, Decl(usingDeclarationsWithIteratorObject.ts, 4, 43)) @@ -38,9 +38,9 @@ function f() { using it2 = Iterator.from(i) >it2 : Symbol(it2, Decl(usingDeclarationsWithIteratorObject.ts, 12, 9)) ->Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) ->Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --)) >i : Symbol(i, Decl(usingDeclarationsWithIteratorObject.ts, 0, 13)) using it3 = new MyIterator(); @@ -61,7 +61,7 @@ function f() { using it6 = new Set().keys(); >it6 : Symbol(it6, Decl(usingDeclarationsWithIteratorObject.ts, 16, 9)) >new Set().keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) ->Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --)) >keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) // should fail diff --git a/tests/cases/conformance/es2025/float16Array.ts b/tests/cases/conformance/es2025/float16Array.ts new file mode 100644 index 0000000000000..2d59e7828db0e --- /dev/null +++ b/tests/cases/conformance/es2025/float16Array.ts @@ -0,0 +1,6 @@ +// @target: esnext +// @lib: es2024,es2025.float16 +// @noemit: true +// @strict: true + +const float16 = new Float16Array(4); diff --git a/tests/cases/conformance/es2025/intlDurationFormat.ts b/tests/cases/conformance/es2025/intlDurationFormat.ts new file mode 100644 index 0000000000000..702397246c2c9 --- /dev/null +++ b/tests/cases/conformance/es2025/intlDurationFormat.ts @@ -0,0 +1,11 @@ +// @target: esnext +// @lib: es2024,es2025.intl +// @noemit: true +// @strict: true + +new Intl.DurationFormat('en').format({ + years: 1, + hours: 20, + minutes: 15, + seconds: 35 +}); diff --git a/tests/cases/conformance/es2025/regExpEscape.ts b/tests/cases/conformance/es2025/regExpEscape.ts new file mode 100644 index 0000000000000..3d074e5a2f5e7 --- /dev/null +++ b/tests/cases/conformance/es2025/regExpEscape.ts @@ -0,0 +1,7 @@ +// @target: esnext +// @lib: es2024,es2025.regexp +// @noemit: true +// @strict: true + +const regExp = new RegExp(RegExp.escape("foo.bar")); +regExp.test("foo.bar"); diff --git a/tests/cases/conformance/es2025/syncIteratorHelpers.ts b/tests/cases/conformance/es2025/syncIteratorHelpers.ts new file mode 100644 index 0000000000000..348c3054928eb --- /dev/null +++ b/tests/cases/conformance/es2025/syncIteratorHelpers.ts @@ -0,0 +1,9 @@ +// @target: esnext +// @lib: es2024,es2025.iterator +// @noemit: true +// @strict: true + +[1, 2, 3, 4].values() + .filter((x) => x % 2 === 0) + .map((x) => x * 10) + .toArray();